gcc 3.0 for PPC
Amit D Chaudhary
amitc at brocade.com
Thu Aug 16 06:06:10 EST 2001
I have not built 3.0, but built 2.95.2\3. The following might help. Do
keep us posted.
Use --with-headers and --with-libs to specify the header files and
libraries from the glibc you compiled or have.
Look at following to check all steps,
http://www.borg.umn.edu/~grant/Linux/cross.html
Amit
Mark Pilon wrote:
> if anyone is / has built gcc 3.0 for PPC I'd appreciate a word as
> to how you configured it.
>
> I built it configured:
> ./configure --host=i386-pc-linux-gnu --target=powerpc-linux
> --prefix=/home/mpilon/ppc_tools --with-newlib -enable-languages=c
>
> and got many warnings, mostly comparison between signed and unsigned ...
>
> and it finally dies compiling ./libgcc2.c -o libgcc/./_muldi3.o
> w/:
>
> In file included from tm.h:6,
> from config/rs6000/xm-sysv4.h:35,
> from tconfig.h:3,
> from libgcc2.c:36:
> config/rs6000/linux.h:81:20: signal.h: No such file or directory
> config/rs6000/linux.h:82:26: sys/ucontext.h: No such file or directory
> make[2]: *** [libgcc/./_muldi3.o] Error 1
> make[2]: Leaving directory `/home/mpilon/ppc_tools/gcc-3.0/gcc'
> make[1]: *** [stmp-multilib] Error 2
> make[1]: Leaving directory `/home/mpilon/ppc_tools/gcc-3.0/gcc'
> make: *** [all-gcc] Error 2
>
> thanks,
> Mark
>
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list