Closed saixmh closed 7 years ago
You can compile the C part (flexdll_msvc64.obj
and flexdll_initer_msvc64.obj
) manually by running (from an appropriate Microsoft Visual Studio Command Prompt):
cl /DMSVC /c /Foflexdll_msvc64.obj flexdll.c
cl /Foflexdll_initer_msvc64.obj flexdll_initer.c
No other software is required. If you want to compile flexlink as well, it's a few more commands, and you obviously need OCaml installed (4.03.0 for the latest git version; 3.12.0+ for 0.34):
rc version.rc
ocamlopt -g -w -105 -o flexlink.exe -cclib "-link version.res" version.ml coff.ml cmdline.ml create_dll.ml reloc.ml
though note that this is much easier with Cygwin (or MSYS2), as you can run:
make CHAINS=msvc64 all
@dra27 Thanks for the reply!
@saixmh Did you manage to build flexdll?
@dra27 thanks.
@alainfrisch Yes, I once tried to build it. But I used gcc
at that moment.
Does it need Cygwin or MSYS ?