Failure while building powerpc-unknown-linux-gnu
Peter Wippich
pewi@gw-instruments.de
Wed Jul 21 15:38:00 GMT 2010
Hi Ioannis and All,
I#'m facing exactly the same problem building a powerpc 32 bit toolchain
(currently targeting for 603e).
What I found out so far is that the is something wrong with shared core
compiler. The library search path is set to
....../build/gcc-core-shared/lib/gcc/powerpc-603e-linux-gnu/4.3.4/
but the libgcc is installed under
....../build/gcc-core-shared/lib/gcc/powerpc-603e-linux-gnu/
Setting CT_LIBC_EXTRA_CC_ARGS to
"-L....../build/gcc-core-shared/lib/gcc/powerpc-603e-linux-gnu/"
get me around this first problem but then it fails later on with
.... crtbegin.o: No such file or directoty
Again crtbegin.o is installed in
....../build/gcc-core-shared/lib/gcc/powerpc-603e-linux-gnu/
and the compiler seems to expect it in /4.3.4/
The strange thing is that I can build the toolchain for gcc 4.4.x, but
this toolchain does not work for me. It compiles the kernel but user space
stuff (busybox) is crashing at runtime when I use it.
Anybody has any hints what's going wrong here ??
Best regards,
Peter
| Peter Wippich Voice: +49 30 46776411 |
| G&W Instruments GmbH fax: +49 30 46776419 |
| Gustav-Meyer-Allee 25, Geb. 12 Email: pewi@gw-instruments.de |
| D-13355 Berlin / Germany |
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list