Is it possible in new verson, offer 32 bit COFF druntime and phobos lib?
Because it's hard to me to compile for myself.

On Sunday, 9 November 2014 at 05:21:06 UTC, Joakim wrote:
On Sunday, 9 November 2014 at 03:44:00 UTC, FrankLike wrote:
X86 COFF format static libraries is very important for d,such as the x86 server, x86 small devices, and how to use them?
Most of x86 COFF format static libraries are built by c.

dmd -ms32coff ?

It's "-m32mscoff", but yeah, that's all you need to use with dmd. You'll also need to recompile druntime and phobos, which I believe can be done for both with the following command:

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

Reply via email to