Re: gcc-win-x-ppc/powerpc-wrs-vxworks/mrtp/libgcc Makefile error
--> error In file included from /usr/share/tools/gcc-win-x-ppc/target/usr/h/types/vxTypesOld.h:126:0, from /usr/share/tools/gcc-win-x-ppc/target/usr/h/vxWorksCommon.h:225, from /usr/share/tools/gcc-win-x-ppc/target/usr/h/vxWorks.h:35, from /usr/share/tools/gcc-win-x-ppc/target/usr/h/semLib.h:27, from ../../../../../source/gcc-4.5.2/libgcc/../gcc/gthr-vxworks.h:51, from ../../.././gcc/gthr-default.h:1, from ../../../../../source/gcc-4.5.2/libgcc/../gcc/gthr.h:162, from ../../../../../source/gcc-4.5.2/libgcc/../gcc/config/vxlib.c:30: /usr/share/tools/gcc-win-x-ppc/target/usr/h/base/e_vxTypesOld.h:144:1: warning: function declaration isn't a prototype /usr/share/tools/gcc-win-x-ppc/target/usr/h/base/e_vxTypesOld.h:153:1: warning: function declaration isn't a prototype /usr/share/tools/gcc-win-x-ppc/target/usr/h/base/e_vxTypesOld.h:162:1: warning: function declaration isn't a prototype /usr/share/tools/gcc-win-x-ppc/target/usr/h/base/e_vxTypesOld.h:171:1: warning: function declaration isn't a prototype ../../../../../source/gcc-4.5.2/libgcc/../gcc/config/vxlib.c:35:19: fatal error: vxLib.h: No such file or directory I think the basic makefile command looks like this -I `case "/mrtp" in */mrtp*) echo $WIND_USR/h ;; *) echo $WIND_BASE/target/h ;; esac` -- vxLib.h is in $WIND_BASE/target/h not in $WIND_USR/h A Solution would be : including -I $WIND_USR/h and -I $WIND_BASE/target/h cause you need both includefolders ! -- View this message in context: http://old.nabble.com/gcc-win-x-ppc-powerpc-wrs-vxworks-mrtp-libgcc-Makefile-error-tp31267661p31273935.html Sent from the gcc - bugs mailing list archive at Nabble.com.
gcc-win-x-ppc/powerpc-wrs-vxworks/mrtp/libgcc Makefile error
Hi Nex here, I try to compile a Canadian Cross Compiler Configure for Candian Cross : ../../source/gcc-4.5.2/configure --build=i686-linux --host=mingw32 --target=powerpc-wrs-vxworks --with-gnu-ld --with-gnu-as --disable-nls --disable-shared --enable-languages=c,c++ --prefix=/usr/share/tools/gcc-win-x-ppc --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --enable-version-specific-runtime-libs --disable-symvers --disable-hosted-libstdcxx --disable-libgomp It is the last step, i allready got linux -> win32 compiler and linux -> ppc-vxworks compiler But if i try to "make",compile this configured gcc there is an makefile, configure error in mrtp/libgcc folder: /build/gcc-win-x-ppc/powerpc-wrs-vxworks/mrtp/libgcc powerpc-wrs-vxworks-gcc -g -O2 -mrtp -O2 -nostdinc -I `case "/mrtp" in */mrtp*) echo /usr/share/tools/gcc-powerpc/usr//h ;; *) echo /usr/share/tools/gcc-powerpc/target/h ;; esac` -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../.././gcc -I../../../../../source/gcc-4.5.2/libgcc -I../../../../../source/gcc-4.5.2/libgcc/. -I../../../../../source/gcc-4.5.2/libgcc/../gcc -I../../../../../source/gcc-4.5.2/libgcc/../include -DHAVE_CC_TLS -o vxlib.o -MT vxlib.o -MD -MP -MF vxlib.dep -fexceptions -c ../../../../../source/gcc-4.5.2/libgcc/../gcc/config/vxlib.c I `case "/mrtp" in */mrtp*) echo /usr/share/tools/gcc-powerpc/usr//h ;; *) echo /usr/share/tools/gcc-powerpc/target/h ;; esac` should be -I/usr/share/tools/gcc-powerpc/usr/h -I/usr/share/tools/gcc-powerpc/target/h Im not good in fixing makescripts :( Does anyone got an idea how to fix that ? Thanks in advance Nex -- View this message in context: http://old.nabble.com/gcc-win-x-ppc-powerpc-wrs-vxworks-mrtp-libgcc-Makefile-error-tp31267661p31267661.html Sent from the gcc - bugs mailing list archive at Nabble.com.