I tried to build boost library using the MinGW's GCC version that comes with CodeBLocks (gccc v5.1) and i have the bin folder in the PATH. When i run
boostrap.bat mingw
or
boostrap.bat gcc
i get
execnt.c: In function 'try_wait_callback':
execnt.c:833:5: warning: implicit declaration of function 'UnregisterWait' [-Wimplicit-function-declaration]
UnregisterWait( slot->wait_handle );
Reading a litte someone told me that my gcc version doesn't work to build boost so then i downloaded the last MinGW-w64 and copy its bin folder content into the MinGW's bin folder trying to "cheat"
if i do gcc -v
i can see i have the version 7.3
Now it throws me this error:
gcc: error: CreateProcess: No such file or directory
You should use MinGW-w64, without the step "copy its bin folder content into the MinGW" !
You want to avoid using the pre-fork MinGW entirely. Download and install MinGW-w64 again and , if you want, add it to Code::Blocks.
Note that there are some sites providing MinGW-w64 and Boost bundles.