gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Build progress in Mac 10.5/PPC


From: Gaius Mulley
Subject: Re: [Gm2] Build progress in Mac 10.5/PPC
Date: Sat, 13 Jun 2015 15:31:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

john o goyo <address@hidden> writes:

> 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

Hi Steve,

I wonder if you could possibly post your configure command to the list
as you seem to have some success in getting gm2 (4.1.2 gcc) building on
a PPC mac

many thanks,
Gaius



reply via email to

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