Michael Twomey <[EMAIL PROTECTED]> 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
like

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

should work (untested).

Stefan

Reply via email to