[ECOS] How to modify CFLAGS within an ECM file?

Mike Arthur arth2219@gmail.com
Wed Sep 12 17:12:00 GMT 2007


> Take a look at:
>
> http://ecos.sourceware.org/docs-latest/cdl-guide/language.values.html
>
> In particular the first example after the table of operators, the
> example in the section Functions, and the documentation for is_substr()
>


I get this error while trying to import my .ecm file:
---------------------------------------------------------------------
option CYGBLD_GLOBAL_CFLAGS: error
    invalid command name "requires"




The ecm file looks like this:
--------------------------------------
cdl_option CYGBLD_GLOBAL_CFLAGS {
    requires { is_substr(CYGBLD_GLOBAL_CFLAGS, " -O2") }
};


Do .ecm files have the same commands as .cdl?

Thanks!
Mike

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



More information about the Ecos-discuss mailing list