I have install MinGW with GCC 4.6.1 but it seems to be incompatible with the MinGW that has been used to build the 4.6.2 package for windows. I tried to compile the GUI example:
https://mercure.iro.umontreal.ca/pipermail/gambit-list/2011-March/004939.htm...
But I get the following error:
D:\Devel>gsc -exe windows-gui-example.scm cc1.exe: error: unrecognized command line option '-mno-cygwin' cc1.exe: error: unrecognized command line option '-mno-cygwin' gcc: error: windows-gui-example.o: No such file or directory gcc: error: windows-gui-example_.o: No such file or directory *** ERROR IN ##for-each -- No such file or directory (delete-file "D:\Devel\windows-gui-example.o")
I tried this on Windows 7.
Afficher les réponses par date
Did you install Gambit using the Windows installer?
If you plan on doing serious development with Gambit, I strongly recommend that you build Gambit from its sources. Doing so should fix any problems like the one you encountered.
On Tue, Nov 1, 2011 at 6:04 AM, Vok Vojwo ceving@gmail.com wrote:
I have install MinGW with GCC 4.6.1 but it seems to be incompatible with the MinGW that has been used to build the 4.6.2 package for windows. I tried to compile the GUI example:
https://mercure.iro.umontreal.ca/pipermail/gambit-list/2011-March/004939.htm...
But I get the following error:
D:\Devel>gsc -exe windows-gui-example.scm cc1.exe: error: unrecognized command line option '-mno-cygwin' cc1.exe: error: unrecognized command line option '-mno-cygwin' gcc: error: windows-gui-example.o: No such file or directory gcc: error: windows-gui-example_.o: No such file or directory *** ERROR IN ##for-each -- No such file or directory (delete-file "D:\Devel\windows-gui-example.o")
I tried this on Windows 7. _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
It is quite possible that the C compiler installed on your PC is different than the one I used when compiling the v4.6.2 installer for Windows. Either recompile from source (as suggested by Guillaume Cartier) or modify the c:/Gambit-C/bin/gambc-cc.bat batch file by removing the option -mno-cygwin that is passed to gcc.
Marc
On 2011-11-01, at 6:04 AM, Vok Vojwo wrote:
I have install MinGW with GCC 4.6.1 but it seems to be incompatible with the MinGW that has been used to build the 4.6.2 package for windows. I tried to compile the GUI example:
https://mercure.iro.umontreal.ca/pipermail/gambit-list/2011-March/004939.htm...
But I get the following error:
D:\Devel>gsc -exe windows-gui-example.scm cc1.exe: error: unrecognized command line option '-mno-cygwin' cc1.exe: error: unrecognized command line option '-mno-cygwin' gcc: error: windows-gui-example.o: No such file or directory gcc: error: windows-gui-example_.o: No such file or directory *** ERROR IN ##for-each -- No such file or directory (delete-file "D:\Devel\windows-gui-example.o")
I tried this on Windows 7. _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
2011/11/1 Marc Feeley feeley@iro.umontreal.ca:
modify the c:/Gambit-C/bin/gambc-cc.bat batch file by removing the option -mno-cygwin that is passed to gcc.
Thanks that works.