trying to build mingw w64 3.1.0 on mingww64/msys system. I'm having troubles compiling mingw crt:
../mingw-w64-code-6184-trunk/mingw-w64-crt/intrincs/bittestci.c:6:15: error: 'InterlockedBitTestAndComplement' aliased to undefined symbol '_interlockedbittestandcomplement'
unsigned char InterlockedBitTestAndComplement(LONG32 volatile *, LONG32) attribute((alias("_interlockedbittestandcomplement")));
make: [intrincs/lib32_libkernel32_a-bittestci.o] Error 1
make: Leaving directory `/c/cprojects/mingw/mingw/buildcrt'
make: [all] Error 2
what am i doing wrong?
r6184 is not v3.1.0, which is tagged as r6434 in SVN.
Please try with the v3.1.0 release tarball located here:
and if you still have issues with this, please give details of the steps you perform. Remember you need matching MinGW-w64 headers to build and use the CRT without issues.