cygnus host,powerpc target how to use cross compiler

Mon Dec 3 00:03:00 GMT 2001

i have succeed in building the toolchain for powerpc target on cygwin1.3.5/win2000.
here,i will say thanks to everybody who have helped me. After this stage, i want to
summarize the obstacle i have met and the procedure to be taken, wish it will help
i want to know when i use the cross compiler to compile applications for the target,
what compile and link option should i use. That is, i don't know what each library
contain. can anyone give me a typical example?.

ya...when i building gdb, i encounter the following error,i have not finished yet.:(

gcc -c -g -O2 -DDEFAULT_INLINE=INLINE_LOCALS     -DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DWITH_SMP=5              -DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO     -I. -I../../../gdb-5.0/sim/ppc -I../../../gdb-5.0/sim/ppc/../../include -I../../bfd -I../../../gdb-5.0/sim/ppc/../../bfd -I../../gdb -I../../../gdb-5.0/sim/ppc/../../gdb  -I../../../gdb-5.0/sim/ppc/../../gdb/config -I../../../gdb-5.0/sim/ppc/../../mmalloc ../../../gdb-5.0/sim/ppc/sim_calls.c
In file included from ../../../gdb-5.0/sim/ppc/sim_calls.c:43:
./../../gdb-5.0/sim/ppc/../../gdb/defs.h:60: conflicting types for `strsignal'
/usr/include/string.h:70: previous declaration of `strsignal'
make[2]: *** [sim_calls.o] Error 1
make[2]: Leaving directory `/home/lws/stock/ppc/build-gdb/sim/ppc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/lws/stock/ppc/build-gdb/sim'
make: *** [all-sim] Error 2



Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list