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.

Reply via email to