I looked at your header file and noticed you had a hard time finding a macro to use to identify CCE. You can use the macro __TI_COMPILER_VERSION to detect the TI code generation tools in general.
___________________________________________ Chris Recoskie Software Designer Texas Instruments, Toronto http://eclipse.org/cdt > -----Original Message----- > From: mspgcc-users-ad...@lists.sourceforge.net [mailto:mspgcc-users- > ad...@lists.sourceforge.net] On Behalf Of Steve Underwood > Sent: Tuesday, October 18, 2005 9:35 AM > To: mspgcc-users@lists.sourceforge.net > Subject: Re: [Mspgcc-users] compiler-independent ISR declarations > > Hi Rolf, > > Excellent idea. However your version seems incomplete. The attached file > tries to work with MSPGCC, Quadravox, IAR 1-3, Rowley, and CCE. I tried > it briefly (not thoroughly) with MSPGCC, Quadravox, IAR 3.x, and CCE. It > seems to work OK. > > I'd like to get this tested and into CVS when it has been reviewed a > little. I need to write code that is built with multiple compilers, and > the ISR definitions have been annoying me for a while. Your posting > prompted me to finally address the issue. > > Regards, > Steve > > nobo...@web.de wrote: > > >Hi, > > > >i made macros for compiler-independent ISR declarations to have a C code > >which can be compiled with mspgcc, IAR V1 and crossworks: > > > >http://random.linux-site.net/files/unsorted/mspgcc/compiler.h > > > >I think it would be a good idea to add it to mspgcc because it would > force TI > >to do the C examples compiler independent. > >I used the current version with mspgcc and crossworks. > > > >Regards, > > > >Rolf > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: > >Power Architecture Resource Center: Free content, downloads, discussions, > >and more. http://solutions.newsforge.com/ibmarch.tmpl > >_______________________________________________ > >Mspgcc-users mailing list > >Mspgcc-users@lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/mspgcc-users > > > > > >