FlexDLL 0.39
Summary
When used with OCaml 4.12.0, restores full support to Cygwin64 for dynamic loaded stub libraries and native dynlink.
Changes
- #89, @dra27: Stop passing
--image-base
on Cygwin64. Cygwin64 DLLs should load at0x4:00000000
-0x6:00000000
if not rebased or0x2:00000000
-0x4:00000000
if rebased. - #90, @dra27: Fix passing
NULL
toflexdll_dlopen
on non-Cygwin builds.
Notes
The binary release includes flexlink.exe
compiled with 32-bit mingw-w64 and MSVC objects compiled using the Windows SDK version 7.0 (Windows 7 + .NET 3.5). If you are using large COFF objects you may need to recompile flexlink with a 64-bit compiler. If you are using Visual Studio 2015 or later, the pre-compiled C object files will need to be rebuilt (make CHAINS=msvs support
or make CHAINS=msvc64 support
). We hope to address both of these issues properly in the next release.
OCaml has supported bootstrap of FlexDLL since 4.03 - if compiling from a Git clone, simply run git submodule update --init flexdll
or if compiling from a tarball, unzip the FlexDLL sources into flexdll/
and run make [-j] flexdll
before running make [-j] world[.opt]
followed, optionally, by make flexlink.opt
. This mode guarantees C objects built with the same C compiler as OCaml and also builds flexlink
with the compiler you just built.