Hello,
I have compiled postgres 11.11 using the following configuration without errors.
# gcc --version
gcc.exe (Rev6, Built by MSYS2 project) 10.2.0
gcc.exe (Rev6, Built by MSYS2 project) 10.2.0
./configure --host=x86_64-w64-mingw32 --prefix=/c/postgresql/pg11/ --with-openssl --with-libxml
make without errors
make install without errors also.
initdb.exe error
The procedure entry point CreateProcessAsUserA could not be located in dynamic link library...
Found related bug and applied solution without any success.
CFLAGS="-D WINVER=0x0600 -D _WIN32_WINNT=0x0600" LIBS="-ladvapi32"
./configure --host=x86_64-w64-mingw32 --prefix=/c/postgresql/pg11/ --with-openssl --with-libxml
Thanks in advance for your inputs.
Yannick