@Oscar: specifying the full path to g++ did not help, but even 
complicated things... though these complications turned out to be the 
key for finding the solution on the web...

@Jeremy: you were right in assuming that problems with (the windows 
environment variable named) PATH caused the 0xC000007B error message. 

Yet, even after having fixed the problems with PATH, 
DependencyWalker64 kept on complaining... the cure was to add -static 
at the end of the linker command specified in geany. The exe is even 
portable now; at least, it runs on 3 other x64 systems without MSYS2 
or pure MINGW installed... of course, statically linking all functions
made the file size of the exe grow from 385kB to about 2.9MB.

All the best
Schorsch




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to