flexdll icon indicating copy to clipboard operation
flexdll copied to clipboard

a dlopen-like API for Windows

Results 37 flexdll issues
Sort by recently updated
recently updated
newest added

Parallel usage is memory unsafe (read: may crash) as documented in #120, ocaml/ocaml#11607, and ocaml/ocaml#13046. This PR goes for the simplest possible fix: adding a single global lock by dusting...

When compiling pg_query on Windows (patched to make it compiled), I have a `pg_check` command which fails: ``` Fatal error: exception Dl.DL_error("dlsym: no such symbol: \"pg_query_parse\"") ``` However, the `pg_query_parse`...

By default MSYS2 doesn't have a prefixed `windres` tool in most of its environments (except for the mingw one which seems to fail due to unrelated reasons). When building flexdll...

Linking with `gcc_eh` should be conditionally done when it is available. See https://github.com/ocaml/ocaml/pull/12996 for a similar discussion for the ocaml compiler.

I noticed that the `CPPFLAGS` and `CFLAGS` were not being passed when building Flexdll's C files, but they introduce problems when building OCaml 4.06 and 4.07 (explanation from David Allsopp):...

With the minimum requirements for OCaml at Windows 10 (I think), we should consider moving off the legacy `msvcrt.lib`. Here is the branch I have used for testing: https://github.com/jonahbeckford/flexdll/commits/0.43%2Bucrt There...

I'm getting this when building OCaml 4.03.0 for x64 with bootstrapped flexlink and Visual Studio 2015. The relocation kind is `IMAGE_REL_AMD64_ADDR32NB`. I have not yet investigated exactly what that means.

Currently with flexlink, if you have a C++ binding and want to link it statically in your executable to avoid having to carry the dll around the only option that...

The list of loaded units is defined globally in `flexdll.c`: https://github.com/ocaml/flexdll/blob/cc0525e99e7109c8d3206085759185bd733ac49f/flexdll.c#L417 and is accessed in parallel both by `flexdll_*dlopen` and `flexdll_dlsym` without using a lock. Adding locks around `flexdll_*dlopen` is...

These commits combine with some other work of mine which allow OCaml to be compiled using native GNU make (e.g. from [ezwinports](https://sourceforge.net/projects/ezwinports/files/make-4.4.1-without-guile-w32-bin.zip/download)) and no Cygwin installation. The bulk of the...