ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: proposed C++ support
Date Mon, 25 Jun 2001 15:51:59 GMT
Michael Twomey <> wrote:

> Usually these are invoked using backticks from the compiler command
> line (e.g. 'gcc `gnome-config --cflags` -o somefile.o somefile.c')
> but this never seemed to work for me in Ant when I tried passing
> them as parameters.

It is the shell that is expanding the backticks magic, doing something

<exec executable="/bin/sh">
  <arg value="-c" />
  <arg value="gcc `gnome-config --cflags` -o somefile.o somefile.c" />

should work (untested).


View raw message