Re: gexace

Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]>
Newsgroups gmane.comp.lang.eiffel.gobo.general
Organization Gobo
Message-ID <[email protected]>
Bolstad, Mark (Cont,ARL/CISD) wrote:
> 
> -I. -I`pkg-config --cflags -Ipango`
> 
> Right now, I just postprocess the SmartEiffel generated <executable>.make
> to force it into the proper form. I could hardcode the paths in the xace
> file, but since I install things in non-standard locations, it certainly
> wouldn't be portable

So, if I understand correctly, with the trick with "." you get:

   -I. `pkg-config --cflags gtk+-2.0`

with ISE in the generated Makefile which then executes the `...`,
whereas under SmartEiffel you get:

   -I. -I`pkg-config --cflags gtk+-2.0`

in the generated <executable>.make, so even if the `...` is
executed you still have this extra -I in front of it.

The reason why gexace does not execute any instruction is that
this tool is a utility to generate Ace files from portable Xace
files not only on the machine where the Ace files will be used
but also on other machines where the Eiffel classes or target
compilers are not necessarily installed.

But now that I think that I fully understand your problem, here
is what I suggest you to try:

   <option name="c_compiler_options"
       value="`pkg-config --cflags gtk+-2.0`"/>

It should work both with ISE and SmartEiffel.
Let me know if it solves your problem.

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



To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: [email protected] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/gobo-eiffel/

<*> To unsubscribe from this group, send an email to:
     [email protected]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.