2. What do you mean by "double than the release"?
The original uqm.exe is 987 kb, the one built with minGW is 1.81 mb and when running doesn't output to console.
3. If you first compiled without OpenAL support, and later with, you should do a "./build.sh uqm clean" in between. Though just "./build.sh uqm depend" will probably work too, and will be faster.
Ok, but now there's another problem:
In file included from src/sc2code/libs/sound/openal/audiodrv_openal.c:23:
src/sc2code/libs/sound/openal/audiodrv_openal.h:31:20: AL/al.h: No such file or directory
src/sc2code/libs/sound/openal/audiodrv_openal.h:32:21: AL/alc.h: No such file or directory
I can see those files are in the OpenAL library folder (.....\OpenAL\Include)
In the source tree, the file libs\sound\openal\audiodrv_openal.h says:
#if defined (__APPLE__)
# include <OpenAL/al.h>
# include <OpenAL/alc.h>
#else
# include <AL/al.h>
# include <AL/alc.h>
# ifdef _MSC_VER
# pragma comment (lib, "OpenAL32.lib")
# endif
#endif
EDIT: solved by copying the needed files in the same folder of build.sh