diff options
author | midipix <writeonce@midipix.org> | 2020-01-04 15:08:13 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-01-04 15:08:13 +0000 |
commit | 4da8c1b5140f9a1c4062dcfedbac3024ab3b85e5 (patch) | |
tree | 179adbdf9b83ec2e51ab52f6b098b699068c2cfb | |
parent | be3a8dd337a20c73fcf6feb7b37902c199dd8bde (diff) | |
download | slibtool-4da8c1b5140f9a1c4062dcfedbac3024ab3b85e5.tar.bz2 slibtool-4da8c1b5140f9a1c4062dcfedbac3024ab3b85e5.tar.xz |
README: how to build for mingw targets or otherwise non-modern systems.
-rw-r--r-- | README | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -47,6 +47,14 @@ effort, ease of customization, and long-term maintenance. - the compiler should support -std=c99; - the system's libc should support -D_XOPEN_SOURCE=700. +If building for (native) mingw development, please cross-build slibtool +under your posix environment of choice (e.g. midipix, cygwin, msys2) and +install it alongside the rest of your (cross-built) mingw toolchain. + +If your system libc only supports -D_XOPEN_SOURCE=600 then you should be +able to build slibtool after slightly tweaking the code and/or setting +a few config-time environment variables (such as CFLAGS and LDFLAGS). + ## Usage With most packages, simply adding `LIBTOOL=slibtool` to the `make` invocation |