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] |
Hi, I'm trying to build a mingw32 gcc on a sparc-sun-solaris2.8 host. Admittedly, I didn't use the well-regarded script at http://www.libsdl.org/extras/win32/cross/cross-make.sh , but I'm fairly sure what I did do is all good; I installed binutils, the version linked from http://www.reactos.com/index.php?tab=software§ion=compilers and the relevant directories now look like this; 6:02PM ~ > ls ~/mingw-cross/bin/ i386-mingw32-addr2line i386-mingw32-ld i386-mingw32-strings i386-mingw32-ar i386-mingw32-nm i386-mingw32-strip i386-mingw32-as i386-mingw32-objcopy i386-mingw32-windres i386-mingw32-c++filt i386-mingw32-objdump nasm i386-mingw32-dlltool i386-mingw32-ranlib ndisasm i386-mingw32-dllwrap i386-mingw32-readelf i386-mingw32-gasp i386-mingw32-size 6:05PM MAKE > ls ~/mingw-cross/i386-mingw32/bin ar as dlltool ld nm ranlib strip 6:06PM ~ > I'm using GNU make, and am building in a subdirectory of the gcc source directory (again, with the version of the compiler at the URL above). Gmake fails; here's the relevant output from trying again. 6:09PM MAKE > gmake gmake[1]: Entering directory `/home/hcksplat/ros/gcc-2.95.3-20011106/MAKE/libiberty' gmake[2]: Entering directory `/home/hcksplat/ros/gcc-2.95.3-20011106/MAKE/libiberty/testsuite' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/home/hcksplat/ros/gcc-2.95.3-20011106/MAKE/libiberty/testsuite' gmake[1]: Leaving directory `/home/hcksplat/ros/gcc-2.95.3-20011106/MAKE/libiber ty' gmake[1]: Entering directory `/home/hcksplat/ros/gcc-2.95.3-20011106/MAKE/etc' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/home/hcksplat/ros/gcc-2.95.3-20011106/MAKE/etc' gmake[1]: Entering directory `/home/hcksplat/ros/gcc-2.95.3-20011106/MAKE/gcc' (cd intl && gmake all) gmake[2]: Entering directory `/home/hcksplat/ros/gcc-2.95.3-20011106/MAKE/gcc/intl' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/home/hcksplat/ros/gcc-2.95.3-20011106/MAKE/gcc/intl' if [ -f fixhdr.ready ] ; then \ true; \ else \ touch fixhdr.ready; \ fi if [ -f libgcc2.ready ] ; then \ true; \ else \ touch libgcc2.ready; \ fi rm -f tmplibgcc2.a for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit _ctors _pure; \ do \ echo ${name}; \ /home/hcksplat/ros/gcc-2.95.3-20011106/MAKE/gcc/xgcc -B/home/hcksplat/ros/gcc-2.95.3-20011106/MAKE/gcc/ -B/home/hcksplat/mingw-cross/i386-mingw32/bin/ -I/home/hcksplat/mingw-cross/i386-mingw32/include -O2 -I../../gcc/../winsup/include -DCROSS_COMPILE -DIN_GCC -DSVR4 -g -O2 -I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I../../gcc -I../../gcc/config -I../../gcc/../include -c -DL${name} \ ../../gcc/libgcc2.c -o ${name}.o; \ if [ $? -eq 0 ] ; then true; else exit 1; fi; \ i386-mingw32-ar rc tmplibgcc2.a ${name}.o; \ rm -f ${name}.o; \ done _muldi3 ../../gcc/libgcc2.c:41: stdlib.h: No such file or directory ../../gcc/libgcc2.c:42: unistd.h: No such file or directory gmake[1]: *** [libgcc2.a] Error 1 gmake[1]: Leaving directory `/home/hcksplat/ros/gcc-2.95.3-20011106/MAKE/gcc' gmake: *** [all-gcc] Error 2 6:12PM MAKE > Since stdlib.h and unistd.h are fairly normal include files to expect to have (well, stdlib.h anyway), I would think it's related to the famed GCC fixincludes script, but I really have no idea. Does anyone have anything to suggest? Thank you, - Aidan -- I'm not a pheasant plucker / I'm a pheasant plucker's son. I'm just a'plucking pheasants / 'Til the pheasant plucker comes. ------ 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] |