cross-gcc for target powerpc-linux

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

 



Hi,

i'd like to set up a cross compiler for a target
powerpc-linux.  I use gcc-core-3.3.2 and an own
build directory.  To configure gcc i use:

../gcc-3.3.2/configure \
--prefix=/powerpc-linux/tools \
--target=powerpc-linux \
--with-gnu-as \
--with-gnu-ld \
--with-cpu=860 \
--enable-languages=c \
--without-libc \
--disable-nls \
--nfp

conigure works fine, but "make" leads to this error:
In file included from ../../gcc-3.3.2/gcc/config/rs6000/linux.h:89,
                 from tconfig.h:22,
                 from ../../gcc-3.3.2/gcc/libgcc2.c:36:
/powerpc-linux/tools/powerpc-linux/sys-include/signal.h:4:24: \
linux/list.h: No such file or directory


Also, adding a line "with-headers=../linux/include/linux"
leads to other messages.

I found a similar message in the archives, but the patch
that should fix this problem did not work for me.


Can anybody tell me how tpo set up a cross compiler for
powerpc-linux?


thanks for any hints,
Torsten.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux