Equivalent to some DMD arguments.

Gregor Richards Richards at codu.org
Thu May 31 10:36:03 PDT 2007


Julio César Carrascal Urquijo wrote:
> Hi.
> 
> I'm working on compiling some projects using GDC as well as DMD. Right 
> now I'm having trouble finding some equivalent command line arguments 
> for GDC:
> 
> -L/IMPLIB:mydll.lib
> This generates an import library for a DLL.
> 

This isn't how .dll's are done with GDC. No static import library is 
necessary, you can link a binary directly against the .dll, and the 
imports are generated on-the-fly.

Wouldn't it be great if all Windows compilers were this smart?


> 
> -H, -Hf and -Hd
> Generate interface files.

I'd recommend you just use gdmd, but otherwise:
-fintfc
-fintfc-dir=
-fintfc-file=

  - Gregor Richards


More information about the D.gnu mailing list