gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC


From: Gaius Mulley
Subject: Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC
Date: Fri, 12 Sep 2014 11:16:30 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

john o goyo <address@hidden> writes:

> Gaius:
>
> On 09/09/2014 22:02, john o goyo wrote (in part):
>> I added a judicious comment character '#' to Make-lang.in to prevent
>> linkcommand from being deleted. Here is the generated script:
>>
>> gcc-4.2 -g gm2-libs-boot/RTExceptions.o [...]
>>
>> Now LDFLAGS='-m64 -mtune=970 -O3' was specified on the configuration
>> line. I added '-m64 -mtune=970' to linkcommand and ppginit linked
>> without a problem.
>>
>> Where does m2link pick up its linking flags and why does it not honour
>> LDFLAGS?
>
> As a work-around, I defined CC='gcc-4.2 -m64 -mtune=970' and removed
> CFLAGS.  (Similarly for CXX.)  I also added SHELL=/bin/bash because
> /bin/sh is not bash.
>
> With this, ppg and friends built correctly but now the build stops at
> multilib:
>
> Checking multilib configuration for libgm2...
> mkdir powerpc-apple-darwin9.8.0/libgm2
> Configuring in powerpc-apple-darwin9.8.0/libgm2
> configure: creating cache ./config.cache
> configure: error: cannot find install-sh, install.sh, or shtool in
> "../../../../src/gcc-4.7.3-patched/libgm2"
> "../../../../src/gcc-4.7.3-patched/libgm2/.."
> "../../../../src/gcc-4.7.3-patched/libgm2/../.."
> make[1]: *** [configure-target-libgm2] Error 1
>
> Indeed, none of those files are there but whey is it even looking?
> This I do not understand because I specified --disable-multilib in my
> configuration:
>
> SHELL=/bin/bash \
> CC='gcc-4.2 -m64 -mtune=970' \
> CXX='g++-4.2 -m64 -mtune=970' \
> LDFLAGS='-m64 -mtune=970' \
> ../../src/gcc-4.7.3-patched/configure \
> --prefix=$HOME/gm2-4.7.3 --exec-prefix=$HOME/gm2-4.7.3 \
> --with-mpc=/usr/local \
> --with-mpfr=/usr/local \
> --with-gmp=/usr/local \
> --enable-languages=c,c++,gm2 \
> --disable-multilib \
> --disable-bootstrap --enable-checking --disable-libitm \
> --enable-libgm2
>
> Please advise on any thoughts on how to proceed from here.
>
> john

Hi John,

well down with your analysis and finding this bug!  I'll hopefully fix
the m2link/Make-lang.in this evening and push it to the repro.  I've
almost finished the import bug, which took a little longer than expected

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]