summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-01-04 15:08:13 +0000
committermidipix <writeonce@midipix.org>2020-01-04 15:08:13 +0000
commit4da8c1b5140f9a1c4062dcfedbac3024ab3b85e5 (patch)
tree179adbdf9b83ec2e51ab52f6b098b699068c2cfb /README
parentbe3a8dd337a20c73fcf6feb7b37902c199dd8bde (diff)
downloadslibtool-4da8c1b5140f9a1c4062dcfedbac3024ab3b85e5.tar.bz2
slibtool-4da8c1b5140f9a1c4062dcfedbac3024ab3b85e5.tar.xz
README: how to build for mingw targets or otherwise non-modern systems.
Diffstat (limited to 'README')
-rw-r--r--README8
1 files changed, 8 insertions, 0 deletions
diff --git a/README b/README
index 10d410a..6aa0cd4 100644
--- a/README
+++ b/README
@@ -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