X86 COFF format static libraries is very important for d, how to use them? -ms32coff?

FrankLike via Digitalmars-d digitalmars-d at puremagic.com
Mon Nov 10 20:52:03 PST 2014


> make -fwin64.mak MODEL=32mscoff
>
> win64.mak has the configuration to pull in MSVC and you need to 
> specify the model so that it compiles for 32-bit.  Of course, 
> this is only available in git HEAD, not in the stable release 
> yet.  You can find info about building from source on Windows 
> here:
>
> http://wiki.dlang.org/Building_DMD#Windows_2

If use the x64,will get the error:

a.obj fatal error LNK1112:

will get the files: a.lib ,a.exp,and a.obj

Why?

Thank you.


More information about the Digitalmars-d mailing list