Re: geant/gexace question

"render_dude" <[email protected]> Thu, 12 Jun 2008 20:39:12 -0000
Newsgroups gmane.comp.lang.eiffel.gobo.general
Message-ID <[email protected]>
--- In [email protected], Eric Bezault <ericb@...> wrote:
>
> 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" ....
> 

That's what I thought, but how do you get geant then to pass that info
on to gexace, and, get geant to pick up the values from the
environment? Or can you?

Mark

> -- 
> Eric Bezault
> mailto:ericb@...
> http://www.gobosoft.com
>