So apparently, two years ago, someone decided to break all Windows
2K/NT4 applications that use MB_CUR_MAX. See also:
https://sourceforge.net/p/mingw-w64/mailman/message/36107291/
What I don't understand is why there isn't a simple "#if WINVER >=
0x0501" so that applications that are specifically
> Can you provide a simple code/project and the commands that you've tried?
The following is enough to generate a PE with the problem I'm having,
a lack of an export table despite telling it to link to kernel32.dll.
-- test.c --
int __stdcall mainCRTStartup(void) {
return 0;
}
-- command --
i6
Situation: I'm building a program that manually looks up and uses
functions from ntdll without the use of any other libraries (e.g.
kernel32) and specified linked libraries are excluded for lack of use.
My problem is that when I do this, no export directory is created.
This is problematic since ntd
I'm a huge fan of POSIX but POSIX functions should not be used in the
MinGW-w64 CRT code as they are now. Using them in this way creates
mandatory dependencies on additional libraries (e.g. MSVCRT). Since
all libraries ultimately rely on Kernel32, it only makes sense to
replace these POSIX functi