linux host gcc-2.95.3 cross compiler to i686-pc-msdosdjgpp target

2boxers 2boxers@comcast.net
Sat Nov 9 20:57:00 GMT 2002


I am trying to compile gcc-2.95.3 as a cross compiler ( linux host,
msdosdjgpp target )
I can build and install binutils and the compiler itself, but the libstdc++
build has an error.

I have seen that this question has been asked a number of times in many
different places, but I have yet to find the answer.

Can anybody suggest a safe way around this?

In file included from
../../../gcc-2.95.3-src/libiberty/../include/libiberty.h:127,
from ../../../gcc-2.95.3-src/libiberty/choose-temp.c:47:
/root/updates/gcc/djgpp/cross3/gcc-2.95.3-obj/gcc/include/stddef.h:170:
warning: redefinition of `size_t'
/root/updates/gcc/djgpp/cross3/gcc-2.95.3-obj/gcc/include/stdio.h:40:
warning: `size_t' previously declared here
/root/updates/gcc/djgpp/cross3/gcc-2.95.3-obj/gcc/include/stddef.h:255:
conflicting types for `wchar_t'
/usr/local/compiler/cross3/djgpp/lib/gcc-lib/i686-pc-msdosdjgpp/2.95.3/../..
/../../i686-pc-msdosdjgpp/sys-include/stdlib.h:39: previous declaration of
`wchar_t'
make[1]: *** [choose-temp.o] Error 1
make[1]: Leaving directory
`/root/updates/gcc/djgpp/cross3/gcc-2.95.3-obj/i686-pc-msdosdjgpp/libiberty'
make: *** [all-target-libiberty] Error 2

Please?

Thank you.
Charles



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



More information about the crossgcc mailing list