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] |
My host is NT4 station - GCC version is 2.95.2 I have typed in the following commands : host=i686-pc-cygwin32 target=sparc-sun-solaris2.7 prefix=/usr/local/gcc/$target i=$prefix/bin ../configure --target=$target --prefix=$prefix -v Then : make all And after a lot of work, I've got the following error : (...) /src/gcc-2.95.2/build-sparc-sun-solaris2.7/gcc/xgcc -B/src/gcc-2.95.2/build-sparc-sun-solaris2.7/gcc/ -B/usr/local/gcc/sparc-sun-solaris2.7/sparc-sun-solaris2.7/bin/ -I/usr/local/gcc/sparc-sun-solaris2.7/sparc-sun-solaris2.7/include -DCROSS_COMPILE -DIN_GCC -DHAIFA -g -O2 -I./include -I. -I../../gcc -I../../gcc/config -I../../gcc/../include \ -c ../../gcc/config/sparc/gmon-sol2.c -o gmon.o ../../gcc/config/sparc/gmon-sol2.c: In function `_mcleanup': ../../gcc/config/sparc/gmon-sol2.c:184: `PATH_MAX' undeclared (first use in this function) ../../gcc/config/sparc/gmon-sol2.c:184: (Each undeclared identifier is reported only once ../../gcc/config/sparc/gmon-sol2.c:184: for each function it appears in.) make[1]: *** [gmon.o] Error 1 make[1]: Leaving directory `/src/gcc-2.95.2/build-sparc-sun-solaris2.7/gcc' make: *** [all-gcc] Error 2 Is there something wrong with my headers ? I have downloaded from a SUN server all headers : /usr/include/*.h and /usr/include/sys/*.h and copied them into : $prefix/$target/include Thanks Michael ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |