This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Interrupts with GCC/EGCS


Jeff A Law wrote:
>
> There are interrupt attributes for some targets.  It's a feature that
has to
> be implemented for each target.  Thus some targets have support for
it,
> others do not.
>
> We recommend against using pragmas.  attributes are a cleaner way to
> accomplish what you are trying to do.
>
> jeff


Some time ago I asked about interrupt keywords with egcs.  Jeff kindly
responded with the above message.
How do if the interrupt keyword exists for a particular target.  I am
interested in 68k and powerpc.
What is the syntax to the attribute ?  Is it the same for all supported
targets or is it target dependent ?
I couldn't find any info in the general gcc/egcs docs.  Are there target
specific docs which give answers to my questions or do I have to hunt
through all the source code ?

Thanks,
Brendan Simon.


_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.