Re: Compiling gcc for XC16x

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

 



On Monday 31 August 2009 16:56:00 Kai Ruottu wrote:
> 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?
Yes.
>
> 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...
Ok, maybe that is it. I'll patch newlib and I'll see... thanks a lot

>
> > 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...
Did the xgcc call the 'as'? I have 'as' and 'xc16x-as' but the 'as' is 
compiled for 'i486-linux-gnu'. Can that cause problems?


Conny



[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