Compiling gcc for XC16x
Conny Marco Menebröcker
admin@hollinger-clique.info
Mon Aug 31 02:47:00 GMT 2009
Hi,
I want to compile the gcc for xc16x controller.
I am using gcc 4.2 with two patches from the "gcc-patches" mailing list
archives.
The patches were sent on 3 Mar 2006 to the mailing list. (If someone know
abaut newer patches please mail me.)
I am running in the following error, but don't know how to fix it:
make[3]: Entering directory `/home/conny/gcc-xc16x/gcc/build/gcc'
/home/conny/gcc-xc16x/gcc/build/./gcc/xgcc -B/home/conny/gcc-
xc16x/gcc/build/./gcc/ -B/usr/local/xc16x-elf/bin/ -B/usr/local/xc16x-elf/lib/
-isystem /usr/local/xc16x-elf/include -isystem /usr/local/xc16x-elf/sys-
include -O2 -O2 -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -
Wstrict-prototypes-Wmissing-prototypes -Wold-style-definition -isystem
./include -DDF=SF -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -
I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -
I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../libdecnumber -
DL___divsi3 -xassembler-with-cpp -c ../../gcc/config/xc16x/lib1funcs.asm -o
libgcc/./___divsi3.o
exec: 2: -o: not found
make[3]: *** [libgcc/./___divsi3.o] Error 1
make[3]: Leaving directory `/home/conny/gcc-xc16x/gcc/build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/home/conny/gcc-xc16x/gcc/build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/conny/gcc-xc16x/gcc/build'
make: *** [all] Error 2
What does "exec: 2: -o: not found" mean?
May there a fault in lib1funcs.asm ?
Regards,
Conny Marco Menebroecker
More information about the Gcc-help
mailing list