rdmd vs dmd WRT static constructors

Andrew Edwards via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jul 8 20:23:16 PDT 2017


On Sunday, 9 July 2017 at 03:11:17 UTC, Mike Parker wrote:
> On Sunday, 9 July 2017 at 02:57:54 UTC, Andrew Edwards wrote:
>
> To include stat1.d and stat2.d in the compilation, you'll 
> either have to import them in statmain.d or use the 
> --extra-file command line switch:
>
> rdmd --extra-file=stat1.d --extra-file=stat2.d statmain.d

Okay, got it... thanks Mike.


More information about the Digitalmars-d-learn mailing list