This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

cross-gcc for target powerpc-linux


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]