This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
>-----Original Message----- >From: Richard Slaughter [mailto:rslaughter@anatel.com] >Sent: 19 October 2001 14:56 >I'm using the arm-elf-gcc compiler version 2.95.2-6 under cygwin for the >atmel arm processor at91fr40807. >Should the following function compile? >Can anyone point me to an example of how to use this option? > >Class foo >{ >public: >static f(void) __attribute__ ((interrupt("IRQ"))); > >} Nothing in the documentation for 2.95.2/3 suggests that this attribute exists for ARM targets , although I know there are some patches out there that add it. I don't know if one of the cygwin modifications was to include that option: it might be in the GNUpro variant only. Anyway, at a guess, I'd say 'get rid of that "IRQ" string and the brackets enclosing it and just try' static f(void) __attribute__ ((interrupt)); >also does the >#pragma interrupt >#pragma nointerrupt > and work? What #pragma interrupt? On the whole, gcc doesn't use #pragma. DaveK -- Burn your ID card! http://www.optional-identity.org.uk/ Help support the campaign, copy this into your .sig! ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |