Re: Cross Compiler Host MinGW Target PowerPC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I found out something.

The make process try to execute:
/home/seb/build/combined/./gcc/xgcc -B/home/seb/build/combined/./gcc/ -nostdinc -B/home/seb/build/combined/powerpc-405-eabi/newlib/ -isystem /home/seb/build/combined/powerpc-405-eabi/newlib/targ-include -isystem /home/seb/combined/newlib/libc/include -B/usr/local/powerpc-405-eabi/bin/ -B/usr/local/powerpc-405-eabi/lib/ -isystem /usr/local/powerpc-405-eabi/include -isystem /usr/local/powerpc-405-eabi/sys-include -O2 -O2 -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -specs=ldblspecs -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I -I../../../combined/gcc -I../../../combined/gcc/ -I../../../combined/gcc/../include -I./../intl -I../../../combined/gcc/../libcpp/include -mrelocatable-lib -mno-eabi -mstrict-align -DL_muldi3 -c ../../../combined/gcc/libgcc2.c -o libgcc/./_muldi3.o

This fails because of wrong includes:
-I. -I -I../../../combined/gcc -I../../../combined/gcc/  ...
     ^
There is a "-I" argument without a Path?

If I try to compile it without the -I argument:
/home/seb/build/combined/./gcc/xgcc -B/home/seb/build/combined/./gcc/ -nostdinc -B/home/seb/build/combined/powerpc-405-e abi/newlib/ -isystem /home/seb/build/combined/powerpc-405-eabi/newlib/targ-include -isystem /home/seb/combined/newlib/libc /include -BC:/msys/home/seb/bin/ppc/powerpc-405-eabi/bin/ -BC:/msys/home/seb/bin/ppc/powerpc-405-eabi/lib/ -isystem C:/msy s/home/seb/bin/ppc/powerpc-405-eabi/include -isystem C:/msys/home/seb/bin/ppc/powerpc-405-eabi/sys-include -O2 -O2 -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -i system ./include -specs=ldblspecs -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I../../../combined/gcc - I../../../combined/gcc/ -I../../../combined/gcc/../include -I./../intl -I../../../combined/gcc/../libcpp/include -mreloca table-lib -mno-eabi -mstrict-align -DL_muldi3 -c ../../../combined/gcc/libgcc2.c -o libgcc/./_muldi3.o

I get the error:
xgcc.exe: _spawnvp: No such file or directory

I have taken a look into the Makefile and it seams that "libgcc2.c" is compiled with a wrong set of arguments.

I'm usually writing microcontroller software and I am not very familiar with such big makefiles.
Can anybody help me, Please?
Sebastian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux