gcc compile
Richard Earnshaw
rearnsha@arm.com
Tue Jan 23 02:18:00 GMT 2001
> >I don't think you can create a whole swi handler in C (unless
> >gcc has extensions I don't know about. the arm C doesn't
> >anyway).
>
> You could try `__attribute__ (( interrupt ("SWI")))' with GCC. This should
> suffice for very simple handlers, though you will still need to write in
> assembler for anything more sophisticated.
>
This is new in the CVS version; it wasn't in 2.95.x (at least, if it was,
it probably didn't work very well).
R.
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list