Re: Compiling gcc for XC16x

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

 



Conny Marco Menebröcker wrote:

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.

A sanity check:  Did you build and install the xc16x(-elf) targeted GNU
binutils before trying to configure and build GNU CC for xc16x(-elf)
target?

What about patching the newlib(-1.14.0) sources for xc16x ?  Maybe you
would like to have a (standard) C library for xc16x(-elf) too...

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
>
> What does "exec: 2: -o: not found" mean?

Trying to exec the unexisting 'as' could cause something like this...


[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