This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I tried to build a cross compiler under a solaris 2.5 host which will run on an MS-DOS platform. I want the compiler to cross compile to a m68k platform. I tried using the shell script included in the FAQ (version 0.7) and found that during the build of the i386-go32 cross m68k-coff compiler, I get the following error message: make[1]: Entering directory `/opt/tmp/gcc/b-i386-go32-x-m68k-coff/gcc' /opt/tmp/gcc/b-sparc-sun-solaris2.5-x-i386-go32/gcc/xgcc -B/opt/tmp/gcc/b-sparc-sun-solaris2.5-x-i386-go32/gcc/ -isystem /opt/tmp/gcc/b-sparc-sun-solaris2.5-x-i386-go32/i386-go32/newlib/targ-include -isystem /opt/tmp/gcc/src/newlib/libc/include -DCROSS_COMPILE -DIN_GCC -O2 -fno-omit-frame-pointer -o protoize \ protoize.o getopt.o getopt1.o getpwd.o version.o obstack.o ` case "/opt/tmp/gcc/b-sparc-sun-solaris2.5-x-i386-go32/gcc/xgcc -B/opt/tmp/gcc/b-sparc-sun-solaris2.5-x-i386-go32/gcc/ -isystem /opt/tmp/gcc/b-sparc-sun-solaris2.5-x-i386-go32/i386-go32/newlib/targ-include -isystem /opt/tmp/gcc/src/newlib/libc/include" in "cc") echo "" ;; esac ` protoize.o(.text+0x1572):protoize.c: undefined reference to `_vfork' protoize.o(.text+0x15a5):protoize.c: undefined reference to `_wait' make[1]: *** [protoize] Error 1 make[1]: Leaving directory `/opt/tmp/gcc/b-i386-go32-x-m68k-coff/gcc' make: *** [all-gcc] Error 2 I'm using the script almost exactly as specified - I modified the build variable for the solaris environment instead of the sunos. The only other difference is that I'm using binutils 2.7 instead of 2.6 since I can't find that version. Has anyone else tried this? Any suggestions? Greg Greene