From: Luke D. <cod...@ho...> - 2003-11-28 14:21:21
|
collect2 hasn't been ported to the mingw32 host yet (at least not officially), and this has been discussed several times so please search the list archives. Luke ----- Original Message ----- From: "Lyon" <ly...@ma...> To: <min...@li...> Sent: Thursday, November 27, 2003 8:14 AM Subject: [Mingw-users] mingw-based compiler building problem Hello, (please apologize if this is a little bit off-topic in this list) I'd like to build MinGW based cross-compiler for m68k-elf. I tried to build it from gcc-3.3.1-20030804-1 sources downloaded through link on www.mingw.org. Configure step passes well, but make ends up with the following problem: . . . . . . . . gcc -O2 -g0 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-pr ototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAV E_CONFIG_H -I. -I. -I../../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc - I../../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/. -I../../../../src/ming w/gcc/3.3.1-20030804-1-src/gcc/config -I../../../../src/mingw/gcc/3.3.1-2003 0804-1-src/gcc/../include \ -DTARGET_MACHINE=\"m68k-elf\" \ -c ../../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/collect2.c -o collect2.o ../../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/collect2.c: In function `handler': ../../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/collect2.c:447: warning: implicit declaration of function `kill' ../../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/collect2.c: In function `scan_prog_file': ../../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/collect2.c:2092: warning: implicit declaration of function `pipe' ../../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/collect2.c:2115: warning: implicit declaration of function `fork' ../../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/collect2.c:2131: warning: passing arg 2 of `execv' from incompatible pointer type ../../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/collect2.c:2069: warning: unused variable `quit_handler' gcc -c -O2 -g0 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict -prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -D HAVE_CONFIG_H -I. -I. -I../../../../src/mingw/gcc/3.3.1-20030804-1-src/gc c -I../../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/. -I../../../../src/m ingw/gcc/3.3.1-20030804-1-src/gcc/config -I../../../../src/mingw/gcc/3.3.1-2 0030804-1-src/gcc/../include ../../../../src/mingw/gcc/3.3.1-20030804-1-src/gcc/tlink.c -o tlink.o gcc -O2 -g0 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-pr ototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAV E_CONFIG_H -s -Wl,--stack=0x00800000 -o Tcollect2.exe \ collect2.o tlink.o intl.o version.o ./intl/libintl.a -liconv ../libiberty/libiberty.a collect2.o(.text+0x313):collect2.c: undefined reference to `kill' collect2.o(.text+0x3b74):collect2.c: undefined reference to `pipe' collect2.o(.text+0x3c12):collect2.c: undefined reference to `fork' make[1]: *** [collect2.exe] Error 1 make[1]: Leaving directory `/cross/tmp/m68k-elf/bootstrap-3.3.1-20030804-1/gcc' make: *** [all-gcc] Error 2 make: Leaving directory `/cross/tmp/m68k-elf/bootstrap-3.3.1-20030804-1' Can anybody give some hint, what's going wrong? Thanks in advance. -- lyo+ lyo/at/mail/dot/lanck/dot/net ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ MinGW-users mailing list Min...@li... You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users |