Re: geant/gexace question

Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]> Thu, 12 Jun 2008 21:33:08 +0200
Newsgroups gmane.comp.lang.eiffel.gobo.general
Message-ID <[email protected]>
render_dude wrote:
> I need a finer switch in my library.xace files then the "windows/unix"
> GOBO_OS variable.
> 
> I have code like the following in my .xace files:
>    <option unless="${ARCH}=macosx-ppc">
> where ARCH is defined in the environment. The paths/libraries/library
> flags change with the different architectures I support. Obviously,
> this doesn't work, the code is always executed no matter what ${ARCH}
> is set to.
> 
> So, how do I make this work, or what is the right way to achieve this
> effect?

You have to call gexace with the following option:

   gexace --define="ARCH=macosx-ppc" ....

-- 
Eric Bezault
mailto:ericb-D6Qt/9opevxWk0Htik3J/[email protected]
http://www.gobosoft.com