From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15758 invoked by alias); 12 Sep 2007 17:12:43 -0000 Received: (qmail 15750 invoked by uid 22791); 12 Sep 2007 17:12:42 -0000 X-Spam-Check-By: sourceware.org Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.176) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 12 Sep 2007 17:12:38 +0000 Received: by wa-out-1112.google.com with SMTP id l24so331498waf for ; Wed, 12 Sep 2007 10:12:36 -0700 (PDT) Received: by 10.114.152.17 with SMTP id z17mr6046533wad.1189617156196; Wed, 12 Sep 2007 10:12:36 -0700 (PDT) Received: by 10.114.38.7 with HTTP; Wed, 12 Sep 2007 10:12:36 -0700 (PDT) Message-ID: <2a3305fe0709121012gf922917vc8ab6acb744a6e7a@mail.gmail.com> Date: Wed, 12 Sep 2007 17:12:00 -0000 From: "Mike Arthur" To: andrew@lunn.ch, ecos-discuss@ecos.sourceware.org In-Reply-To: <20070912070054.GQ3557@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a3305fe0709111554x64de173ej3b684623610db101@mail.gmail.com> <20070912070054.GQ3557@lunn.ch> X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] How to modify CFLAGS within an ECM file? X-SW-Source: 2007-09/txt/msg00072.txt.bz2 > 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