gcc compile

Philip Blundell philb@gnu.org
Mon Jan 22 13:38: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.

p.



------
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