gm2
[Top][All Lists]
Advanced

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

[Gm2] Build progress in Mac 10.5/PPC


From: john o goyo
Subject: [Gm2] Build progress in Mac 10.5/PPC
Date: Sun, 31 May 2015 21:50:50 -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

Gm2 still fails to build on Mac 10.5/PPC.

Here is my configuration script:

SHELL=/bin/bash \
CC='gcc-4.2 -m64 -mtune=970' \
CXX='g++-4.2 -m64 -mtune=970' \
LD='gcc-4.2 -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-shared \
--enable-libgm2

Here is where the build ends:

gcc-4.2 -m64 -mtune=970 -c -g [...] gcc-4.2 -m64 -mtune=970 -c -g ../../../src/gcc-4.7.3-patched/gcc/gm2/gm2-gcc/init.c -o gm2/gm2-gcc/init.o gcc -g [...] -o gm2/boot-bin/mklink ../../../src/gcc-4.7.3-patched/gcc/gm2/tools-src/mklink.c ld warning: in /Users/build/gcc-4.7.3/lib/libgcc_ext.10.5.dylib, missing required architecture ppc in file ld warning: in /Users/build/gcc-4.7.3/lib/gcc/powerpc-apple-darwin9.8.0/4.7.3/libgcc.a, file is not of required architecture
Undefined symbols:
  "saveGPR", referenced from:
      _addLibrary in ccDfIk5g.o
      _IsSym in ccDfIk5g.o
      _SymIs in ccDfIk5g.o
  "restGPRx", referenced from:
      _addLibrary in ccDfIk5g.o
      _IsSym in ccDfIk5g.o
      _SymIs in ccDfIk5g.o
ld: symbol(s) not found
collect2: error: ld returned 1 exit status

Note that a different compiler is used for linking. If neither GCC nor LD are honoured, then what is the appropriate environment variable used by configure?

john



reply via email to

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