I just got agar to run in addition to cobol with cygwin and mingw. I thought it would be more useful to leave an agar summary.
You have to follow Agar instructions under docs on their website.
It would be helpful to set CC, CXX, MINGWROOT (You could set that in control panel too).
Also, you need all the usual MINGW paths set in windows.
WARNING: i fell asleep at the wheel and accepted the agar prefix on the libagar site. Only do that if you don't care if agar is not contained in its own place. There is no make uninstall.
Hi all-
I am trying to get with the people that are using the mingw tools.
If you stay within the cygwin environment with gcc you are fine but i have no idea how to deploy the app because of the dir and file permissions.
I am trying to compile gnucobol with mingw.
I used the following variables:
CC, CXX, LD_LIBRARY_PATH, and of course set the paths to the binaries in windows.
I cd into the source directory and execute mkdir build.
Then, I cd into the build dir.
Then run this:
$ ../configure --prefix=/home/user/cobol-3.1-rc1 --host=x86_64-w64-mingw32
after I run make my outputs look like this:
The the make section where I get the error looks like this:
Just put a default.conf in the directory whenever it complains.
When I tested the helloworld.exe outside of the cygwin environment it complained so I gave it the default.conf in the .exe directory.
Thanks,
roboloki
Last edit: alien with special powers 2020-10-25
Hi all-
I just got agar to run in addition to cobol with cygwin and mingw. I thought it would be more useful to leave an agar summary.
You have to follow Agar instructions under docs on their website.
It would be helpful to set CC, CXX, MINGWROOT (You could set that in control panel too).
Also, you need all the usual MINGW paths set in windows.
WARNING: i fell asleep at the wheel and accepted the agar prefix on the libagar site. Only do that if you don't care if agar is not contained in its own place. There is no make uninstall.
In environment variablles-
For path, I used :
C:\cygwin\usr\x86_64-w64-mingw32\sys-root\mingw\bin
C:\cygwin\usr\x86_64-w64-mingw32\bin
C:\cygwin\bin
for LD_LBRARY_PATH, i USED:
C:\cygwin\usr\x86_64-w64-mingw32\sys-root\mingw\lib
./configure --host=x86_64-w64-mingw32 --prefix=$MINGWROOT --enable-debug --with-{freetype,sdl,png,jpeg,gl}=$MINGWROOT --without-{fontconfig,gettext,iconv} --enable-static
Make sure you close out of (in my case mintty) shell and restart the shell for the path variables you set in windows control panel to take effect.
thanks,
roboloki
Last edit: alien with special powers 2020-10-25