[ECOS] about __ECOS

Nick Garnett nickg@ecoscentric.com
Mon Sep 30 06:37:00 GMT 2002


zhulin@digitalchina.com writes:

> hi,
> i study the install/include/*.h,
> i find some *.h file use "__ECOS" flag.
> but i cant find where "__ECOS" flag is defined.how can i resolve it.
> so i have to write myself .h file to define "__ECOS" flag,as following:
> #ifndef __ECOS
> #define __ECOS
> #endif

__ECOS is added to the compiler flags by the CDL of the packages that
need it. These are all packages that have been imported from
elsewhere and use __ECOS to customize the code.

You should not define it yourself.

-- 
Nick Garnett - eCos Kernel Architect
http://www.eCosCentric.com/

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



More information about the Ecos-discuss mailing list