Prebuilt binaries for arm-elf?

James P. K. Gilb gilb@appairent.com
Mon Dec 8 19:59:00 GMT 2003


All

I have managed to build the arm-elf tool chain (many times), however, I 
am having a problem complaining with the following error:

arm-elf-gcc -Wall -save-temps   -c -o test.o test.c
test.c:14: parse error before `0x5'
test.c:14: warning: type defaults to `int' in declaration of `mySWI'
test.c:14: warning: data definition has no type or storage class

with the relevant code:

int __swi (0x5) mySWI(int arg0);

This is supposed to be a software interrupt for the angel debugger.  Do 
I need to write my own definition of the inline __swi?  If so, where do 
I look to find an example?

The code depends on the __swi to perform the reads and writes to the 
serial ports for the ARM board, so I don't think I can work around this 
by not using the __swi.

Near as I can tell, I have enabled the angel debugger in newlib (RDI 
monitor).

I have guilt with the following combinations:
gcc-2.95.2, newlib-1.8.2, binutils-2.10
gcc-2.95.3, newlib-1.9.0, binutils-2.11.2
gcc-3.3, newlib-1.11.0, binutils-2.13.1

Thoughts?

James Gilb

Kanishka Lahiri wrote:
> Thanks for all of your inputs. I have reserved tonight for building them 
> from scratch.
> 
> Bill - when you have the binaries ready will they be on your website? 
> (In case mine don't work...)
> 
> Thanks,
> Kanishka.
> 
> 
> 
> Bill Gatliff wrote:
> 
>> Kanishka:
>>
>>
>> Good timing!  I'm just now finishing up some RPMs for gcc 3.3.2 and 
>> binutils 2.13.92.  I'm working with arm-elf, and am also nearly done 
>> with the sh-elf, ppc-elf and mips-elf versions.
>>
>> More in a bit,
>>
>>
>> b.g.
>>
>>
>> Kanishka Lahiri wrote:
>>
>>> Hi ,
>>>
>>> I need  a version of the GCC Cross compiler configured with 
>>> TARGET=arm-elf, using newlib. \My design will not have an OS, hence, 
>>> I understand that arm-linux with glib will not work for me (correct 
>>> me if I am wrong).
>>>
>>> I found a precompiled version for arm-linux on www.handhelds.org that 
>>> was super easy to set up. Does anyone know if there are pre-compiled 
>>> versions available for arm-elf ? Worst case, I will compile the 
>>> source, but wanted to save some time.
>>>
>>> Thanks in advance,
>>> Kanishka.
>>>
>>>
>>> ------
>>> Want more information?  See the CrossGCC FAQ, 
>>> http://www.objsw.com/CrossGCC/
>>> Want to unsubscribe? Send a note to 
>>> crossgcc-unsubscribe@sources.redhat.com
>>>
>>
> 

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list