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]

Building a cross-gcc from Debian SID


hi all,

I would like to build cross-compiler from my debian sid, for rs6000-ibm-aix4.3
target architecture.

I built binutils (2.14) with these options:

./configure --prefix=/usr/local --target=rs6000-ibm-aix4.3
--with-headers=/usr/include.aix --with-libc=/usr/lib.aix && make all install

and everything is ok for that.

After that, i try to build a gcc cross compiler with these option:

../gcc-3.3.2/configure --host=i686-pc-linux-gnu --target=rs6000-ibm-aix4.3
--with-headers=/usr/include.aix --enable-language=c  --with-gnu-as
--with-as=/usr/local/rs6000-ibm-aix4.3/bin/as --with-gnu-ld --with-ld=/usr/local
--without-threads --with-libc=/usr/lib.aix && make all install

During "make all" i get this error:

/root/gcc-build/gcc/xgcc -B/root/gcc-build/gcc/
-B/usr/local/rs6000-ibm-aix4.3/bin/ -B/usr/local/rs6000-ibm-aix4.3/lib/ -isystem
/usr/local/rs6000-ibm-aix4.3/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include   -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I.
-I../../gcc-3.3.2/gcc -I../../gcc-3.3.2/gcc/. -I../../gcc-3.3.2/gcc/config
-I../../gcc-3.3.2/gcc/../include  -DL_muldi3 -c ../../gcc-3.3.2/gcc/libgcc2.c -o
libgcc/./_muldi3.o
In file included from /root/gcc-build/gcc/include/errno.h:1,
/root/gcc-build/gcc/include/errno.h:1:10: #include nested too deeply
make[2]: *** [libgcc/./_muldi3.o] Erreur 1
make[2]: Leaving directory `/root/gcc-build/gcc'
make[1]: *** [stmp-multilib] Erreur 2
make[1]: Leaving directory `/root/gcc-build/gcc'
make: *** [all-gcc] Erreur 2

I dont know what i'm doing wrong, can you help me ?

Thanks

Laurent

I'm french, excuse for my bad english ;-)








------
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]