forked from Dniel97/segatools
ad24fe10bb
Some distributions of MinGW, recent builds included, require `MINGW_HAS_SECURE_API` to be defined in order to expose `_s` variants of functions, as defined by Annex K of the C standard, in the headers. Omitting this definition leads to a bunch of compiler warnings clobbering the build output, as well as possibly incorrect inference of argument and return types by the compiler. It needs to be set to `1` as opposed to simply defined as per https://sourceforge.net/p/mingw-w64/bugs/714/. |
||
---|---|---|
aimeio | ||
amex | ||
board | ||
chunihook | ||
chuniio | ||
dist | ||
divahook | ||
divaio | ||
doc | ||
hooklib | ||
iccard | ||
idzhook | ||
idzio | ||
jvs | ||
minihook | ||
mu3hook | ||
mu3io | ||
pki | ||
platform | ||
reg | ||
spike | ||
subprojects | ||
util | ||
.editorconfig | ||
.gitignore | ||
cross-mingw-32.txt | ||
cross-mingw-64.txt | ||
initpki | ||
meson.build | ||
mkdist | ||
precompiled.h | ||
README.md |
Segatools
Quick start on a Linux build host:
# Install Meson and a recent build of MinGW-w64, then:
$ meson --cross cross-build-32.txt _build32
$ ninja -C _build32
$ meson --cross cross-build-64.txt
$ ninja -C _build64
Building on MSYS2 is also possible; consult Meson documentation for details.
Additional documentation will be forthcoming.