This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Trouble building powerpc-linux


I'm trying to build a powerpc cross compiler for linux using
binutils-2.12.1, gcc-3.1 and the scripts that Bill Gatliff put
together to build it.  Unfortunatley it blows up building the
bootstrap compiler libgcc2 library:

/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/crap/powerpc-linux/gcc-bootstrap/gcc/xgcc -B/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/crap/powerpc-linux/gcc-bootstrap/gcc/ -B/tmp/crap/powerpc-linux/bin/ -B/tmp/crap/powerpc-linux/lib/ -isystem /tmp/crap/powerpc-linux/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-stock-3.1/gcc -I/home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-stock-3.1/gcc/. -I/home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-stock-3.1/gcc/config -I/home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-stock-3.1/gcc/../include  -fPIC -mstrict-align -DL_muldi3 -c /home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-stock-3.1/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from tconfig.h:21,
                 from /home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-stock-3.1/gcc/libgcc2.c:36:
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-stock-3.1/gcc/config/rs6000/linux.h:81:20: signal.h: No such file or directory
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-stock-3.1/gcc/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/pbarada/work/cvs-wavemark/cross-linux-tools/obj/crap/powerpc-linux/gcc-bootstrap/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/home/pbarada/work/cvs-wavemark/cross-linux-tools/obj/crap/powerpc-linux/gcc-bootstrap/gcc'
make: *** [all-gcc] Error 2
Done building gcc-bootstrap.

I successfully build a binutils using the following from binutils/config.status:

/home/pbarada/work/cvs-wavemark/cross-linux-tools/binutils-2.12.1/configure \
--host=i686-pc-linux-gnu --target=powerpc-linux --prefix=/tmp/crap \
--norecursion 

And configured gcc-bootstrap with the following from gcc-bootstrap/config.status:

/home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-stock-3.1/configure \
--with-gcc-version-trigger=/home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-stock-3.1/gcc/version.c \
--host=i686-pc-linux-gnu --target=powerpc-linux --prefix=/tmp/crap \
--enable-languages=c --with-local-prefix=/tmp/crap/powerpc-linux \
--without-headers --with-newlib --disable-shared --verbose \
--norecursion  

If I try configuring for m68k-linux, it dies the same way.
Has anyone build a powerpc-linux or m68k-linux toolchain with these
versions?

Any help or suggestions are appreciated.

-- 
Peter Barada                                   Peter.Barada@motorola.com
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]