author | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Sat, 7 Oct 2017 11:45:27 +0000 (14:45 +0300) | ||
committer | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Sat, 7 Oct 2017 12:31:57 +0000 (15:31 +0300) | ||
commit | b9e7124a96d4ccc050a29a98361197d211796e32 | |
tree | b25fcfe5291c5c2ef83bc2f0c36ffad454b8ca28 | tree | snapshot |
parent | d48835ed248033dcbc23b465a0d7408aa5c2ae3b | commit | diff |
it is now possible to link windoze LibJIT and ENet as static libs (see commit comments)
first, you need to clone http://repo.or.cz/d2df-binlib.git (repo with prebuilt windoze libs)
then, you can use:
-dLIBJIT_WINDOZE_STATIC -- static LibJIT
-dLIBENET_WINDOZE_STATIC -- static ENet
don't forget to specify lib*.a location with -Fi<...>
i used mingw-gcc 7.1.0 to build static libs; some other .a libs were taken directly from mingw.
building is easy: just fire msys, install all dependencies, and do:
./configure --enable-static --disable-shared && make
this should produce working .a library suitable for static linking
first, you need to clone http://repo.or.cz/d2df-binlib.git (repo with prebuilt windoze libs)
then, you can use:
-dLIBJIT_WINDOZE_STATIC -- static LibJIT
-dLIBENET_WINDOZE_STATIC -- static ENet
don't forget to specify lib*.a location with -Fi<...>
i used mingw-gcc 7.1.0 to build static libs; some other .a libs were taken directly from mingw.
building is easy: just fire msys, install all dependencies, and do:
./configure --enable-static --disable-shared && make
this should produce working .a library suitable for static linking
README | diff | blob | history | |
src/lib/enet/enet.pp | diff | blob | history | |
src/lib/libjit/libjit.pas | diff | blob | history | |
src/lib/libjit/libjit_opts.inc | [new file with mode: 0644] | blob |
src/lib/libjit/libjit_types.pas | diff | blob | history |