This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to tell if a file is being compiled as part of eC os?


On 2008-07-31, Jay Foster <jay@systech.com> wrote:

> I've seen many eCos packages use "__ECOS" (or sometimes
> "__ECOS__") for this purpose.  __ECOS is usually defined by
> the associated package CDL file in a ...CFLAGS_ADD option.

I guess that's what I'll do.  I thought maybe eCos provided
something in the default CFLAGS so that it didn't have to be
done at the package level.

-- 
Grant Edwards                   grante             Yow! Where's SANDY DUNCAN?
                                  at               
                               visi.com            


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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