FlexDLL 0.42
Summary
This release primarily adds support for GCC's -l:
syntax, to allow specific libraries to be linked statically.
Changes
- #106, @dra27: Support
-l:
syntax, to allow static linking of specific libraries - #102, #103, @dra27: Delete objects from C files compiled by flexlink (report by @xavierleroy)
- #72, #85, @dra27: Split multiple arguments passed with a single
-Wl
; completes the support for-Wl,
added in #73 in 0.38
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. When compiling from a Git clone, simply run git submodule update --init flexdll
or, when compiling from a tarball, unzip the FlexDLL sources into flexdll/
. OCaml 4.13 and later will then automatically build FlexDLL as part of the main build.
For OCaml 4.03-4.12, you must explictly 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.