However, when I try to compile a simple hello world program with gplc, I get this 'File not found' error:
$ gplc.exe -o hello hello.pl error trying to execute x86_64-w64-mingw32-gcc -o hello C:\Apps\cygwin\tmp\gplc5.o C:\GNU-Prolog\lib\all_pl_bips.o C:\GNU-Prolog\lib\all_fd_bips.o C:\GNU-Prolog\lib\top_level.o C:\GNU-Prolog\lib\debugger.o C:\GNU-Prolog\lib\libbips_fd.a C:\GNU-Prolog\lib\libengine_fd.a C:\GNU-Prolog\lib\libbips_pl.a C:\GNU-Prolog\lib\libengine_pl.a C:\GNU-Prolog\lib\liblinedit.a -ladvapi32 -luser32 -lws2_32 : No such file or directory
compilation failed
I tried adding C:\GNU-Prolog\bin to my Windows system PATH (instead of my cygwin PATH), but that did not help.
Indeed, there is a x86_64-w64-mingw32-as.exe in that bin directory, but no x86_64-w64-mingw32-gcc.exe.
Can you suggest how I could work around this problem? Are there extra dependencies or cygwin packages that I need to install first? (Are there any installation instructions for the binary distributables?)
Thanks Mark
Details:
$ uname -a CYGWIN_NT-6.1-WOW64 RWS034 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin