Today I check the gcc module in info.gsb file, on a Windows 11 desktop PC.
The gcc example show how we can prepare dll file from c source code through the m2000 script, then link the dll to the m2000 running environment and call two functions from there. The script run 50% making the dll at C: and using elevation (asking for it), and 50% in a folder in C:
To compile a dll from c source we use the gcc from msys64 (mingw32).
I had to install msys64, and found some difficulties. When we put the mingw64 folder on c: we have to run the mingw32.exe and through that we run the pacman statement as:
pacman -S mingw-w64-i686-toolchain
(This instruction included on gcc m2000 code)
So I run the statement and no packages can downloaded.
I found the pacman -Syyu (at window of thecrunjing mingw32.exe), and the pacman -Sy mingw-w64-i686-toolchain (see the y after -S), do the job. And last I had to import the path of c:\msys64\mingw32\bin at path environment variable.
So when the program running on Windows 11, I found that I had to use elevated execution of some cmd statements, for both situations, the dll at C: and at a folder in C:. (Windows 10 pro allow in folders to handle files without elevation).
So try to alter code, finding variable NoElevation and change the assign value from true to false.
If you have some other suggestions please write here.
George