how to complie a x64 dll wiht a x64 host exe? i need the command line code.

Andre Pany andre at s-e-a-p.de
Fri Mar 15 15:08:48 UTC 2019


On Friday, 15 March 2019 at 09:22:35 UTC, ll wrote:
> i see a simple dll creation in sample fold, but i am confused 
> with the command line and i donnot know how to complie a x64 
> dll wiht a x64 host exe. i think need a clear command line 
> arguments.

There is an open pr for dub. X64 will then automatically be used 
if your system is capable. For now you have to use argument -a 
x86_64.

In dub.json set the targetType to dynamicLibrary.

https://dub.pm/package-format-json.html#target-types

Kind regards
Andre


More information about the Digitalmars-d-learn mailing list