www.digitalmars.com         C & C++   DMDScript  

D.gnu - What happened to the "-fod" flag?

reply Johannes Pfau <nospam example.com> writes:
According to http://gdcproject.org/wiki/UserDocumentation gdc accepts a
"-fod=<directory>" flag to "Specify the object output directory.
Note: this is actually a driver option; the backend ignores it."

That doesn't work for me:
----------
LANG=C /opt/gdc/bin/gdc -fod=test 
gdc: error: unrecognized command line option '-fod=test'
gdc: fatal error: no input files
compilation terminated.
----------

Is this flag still supposed to work or is there a replacement?
Dec 13 2012
parent Iain Buclaw <ibuclaw ubuntu.com> writes:
On 13 December 2012 21:35, Johannes Pfau <nospam example.com> wrote:
 According to http://gdcproject.org/wiki/UserDocumentation gdc accepts a
 "-fod=<directory>" flag to "Specify the object output directory.
 Note: this is actually a driver option; the backend ignores it."

 That doesn't work for me:
 ----------
 LANG=C /opt/gdc/bin/gdc -fod=test
 gdc: error: unrecognized command line option '-fod=test'
 gdc: fatal error: no input files
 compilation terminated.
 ----------

 Is this flag still supposed to work or is there a replacement?
What happened to it? It was never implemented. https://github.com/D-Programming-GDC/GDC/commit/54b2524d9be1ffc23c2690931b34213ee97499db Regards, -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';
Dec 13 2012