commit | 90f374ecfcab36222ae82006513db92aa6724a76 | [log] [tgz] |
---|---|---|
author | Jörg Walter <joerg.walter@offis.de> | Thu Nov 26 03:26:10 2020 +0100 |
committer | Alois Zoitl <alois.zoitl@gmx.at> | Mon Nov 30 13:08:43 2020 -0500 |
tree | 995a287b154e321e56e25eaee3f3364b65fbeee1 | |
parent | 8114081011d5e47ffede2ecdd22dd0902d0f725a [diff] |
[569184] Introduce WinXP compatibility setting At least one major PLC vendor sold Windows XP based boxes, which means that this is a relevant target for 4diac. Right now, the platform-specific part of FORTE uses some >= Vista APIs. This patch introduces a workaround which makes CPCSyncObject use a critical section as backend. Due to possible performance degradation of critical sections vs. SRW locks, this change is guarded by a CMake setting. Furthermore, the patch replaces calls to InetPton with equivalent calls to WSAStringToAddressA. This patch also silences a few warnings on MingW. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=569184 Signed-off-by: Jörg Walter <joerg.walter@offis.de> Change-Id: I24eba08ffed89be13a8b0d66209407fa22e3bf7b
./setup_posix.sh cd bin/posix make
In case you ran CMake with invalid options it might help to reset the CMake state by deleting CMake intermediate files:
rm -Rf CMakeCache.txt CMakeFiles/
For building local RPMs you can use (tito)[https://github.com/dgoodwin/tito]
tito build --test --rpm