[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: |
john o goyo |
Subject: |
Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC |
Date: |
Wed, 10 Sep 2014 15:31:24 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-GB; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15 |
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
- Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC, Gaius Mulley, 2014/09/01
- Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC, john o goyo, 2014/09/02
- Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC, john o goyo, 2014/09/03
- Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC, Gaius Mulley, 2014/09/04
- Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC, john o goyo, 2014/09/09
- Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC,
john o goyo <=
- Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC, Gaius Mulley, 2014/09/12
- Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC, Gaius Mulley, 2014/09/13
- [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC (bis), john o goyo, 2014/09/14
- Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC (bis), john o goyo, 2014/09/18
- Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC (bis), Gaius Mulley, 2014/09/19
- Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC (bis), Gaius Mulley, 2014/09/19
- Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC (bis), john o goyo, 2014/09/19
- Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC (bis), john o goyo, 2014/09/19
- Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC (bis), john o goyo, 2014/09/20