[Fwd: RE: gexace]
Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Organization | Gobo |
| Message-ID | <[email protected]> |
-------- Original Message -------- Subject: RE: gexace Date: Thu, 1 Apr 2004 08:57:39 -0500 From: "Bolstad, Mark (Cont,ARL/CISD)" <[email protected]> To: "Eric Bezault" <ericb-D6Qt/9opevxWk0Htik3J/[email protected]> -----Original Message----- From: Eric Bezault [mailto:ericb-D6Qt/9opevxWk0Htik3J/[email protected]] Sent: Thu 4/1/2004 1:51 AM To: Bolstad, Mark (Cont,ARL/CISD) Cc: [email protected] Subject: Re: gexace Bolstad, Mark (Cont,ARL/CISD) wrote: > I think that I need a new option in gexace. When compiling against a number of GNU packages, they use pkg-config for configuring the different compile options. What I'd like to do is the following is a xace file: > > <option name="header" value="`pkg-config --cflags gtk+-2.0`"/> > <option name="link" value="`pkg-config --libs glib-2.0`"/> > > and have the value appropriately expanded. Do you mean that it works both with ISE and SmartEiffel? I'd like it to work with both. It currently works only with ISE in the form listed below. Moving the "." out of the statement will generate bogus compile statements. ISE sticks a "-I" at the beginning of an include line in the ACE file, hence the ".". What I was thinking is more along the lines of: <option name="header" external="`pkg-config --cflags gtk+-2.0`"/> where "external" is a keyword to gexace to execute the statement and process the results and use that in the header. For example, the line above would be equivilent to: <option name="header" value="-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"/> PS: I will be in a meeting during the next 3 days, so I didn't have time to try this suggestion myself. Furthermore I will probably not be able to answer my emails until the beginning of next week. Have fun in meeting hell. Mark -- Eric Bezault mailto:ericb-D6Qt/9opevxWk0Htik3J/[email protected] http://www.gobosoft.com -- Eric Bezault mailto:ericb-D6Qt/9opevxWk0Htik3J/[email protected] http://www.gobosoft.com ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/saFolB/TM ---------------------------------------------------------------------~-> 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/