dfl icon indicating copy to clipboard operation
dfl copied to clipboard

COFF Format Support

Open qchikara opened this issue 10 years ago • 0 comments

DMD 2.069 can make 32-bit COFF binary and have runtime libraries. So, I fix DFL's toolchains, which are dfl.exe and makeXX.bat files.

Usage

cd dflexe makedflexe.bat

dfl.exe will be able to accept -m64/-32mscoff options.

dfl.exe -m32mscoff test.d

Usually you use dfl.exe. Though -m32/-m64/-m32mscoff are dmd's options, dfl.exe also switches some linker options and (re)build dfl.lib automatically.

Note

It requires MSVC and WindowsSDK as same as x64 build mode. I tested with VS2013 Community Edition. If one uses with another version, please modify the environment settings inside of makecoff.bat.

This change was originally made as a part of DFL64, but is fully imploved. It does NOT any change against the current Win32 OMF mode.

qchikara avatar Nov 27 '15 02:11 qchikara