-od (outputdir) build flag for gdmd

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Tue Apr 17 06:43:37 PDT 2012


On 17/04/12 13:05, Iain Buclaw wrote:
> I think 'subdir' must exist for that to work, but I might be wrong.
> It's only a perl script so in theory should be easily solvable by
> anyone willing. :~)

Well, here's the situation.  I've pulled a copy of the SciD code[1] and tweaked 
the build script to replace dmd with gdmd.  The essential build command is,

    gdmd [a lot of sources] -lib -odgenerated -oflibscid.a

... which if run, produces the "generated" subdir but places the output file 
libscid.a in the current directory.  This happens consistently, even if the 
"generated" dir already exists.

The building of headers using the -Hd option works correctly.


-----
[1] https://github.com/kyllingstad/scid


More information about the D.gnu mailing list