Skip to content

FlexDLL 0.40

Compare
Choose a tag to compare
@dra27 dra27 released this 05 Jan 11:37
· 83 commits to master since this release

Summary

This release adds support for recent Visual Studio and Windows SDK releases along with a couple of bug fixes and new support for Extended COFF.

Changes

  • #65, @db4: Add Extended COFF support permitting MSVC objects compiled with /bigobj.
  • #80, @dra27: Silence cl's filename display for long commands as well as short ones.
  • #88, @yakobowski: Correctly handle relative search paths coming from gcc -print-search-dirs.
  • #94, @dra27: Fix parsing of COFF archives to ignore <XFGHASH> headers, allowing the Windows 11 SDK to be used.
  • #96, @dra27: Suppress volatile metadata on versions of MSVC which support it.

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.