A quicky and dirty solution would be, edit your bin\gsc-cc-o.bat file as not to include that compilation option anymore.

Secondarily, for debug, you can turn on the GAMBC_CC_VERBOSE environment option as to get echoed to you the actual C compiler command line invoked by Gambit.

Did this work around it?


2013/1/11 Sunao Furukawa <sadie@kind.ocn.ne.jp>
Hello everyone!
It is nice to meet you!

I installed gambit.
So,I compiled .scm file.
But, I failed it.
Error message:
C:\Users\?\Desktop>gsc myeval-myapply1.scm
gcc: error: unrecognized command line option '-mno-cygwin'

I download gambit of Windows installer MinGW version 4.6.6.
MinGW is mingw-get-inst-20120426.exe.

myeval-myapply1.scm is SICP 4.1.4 improved for R5RS.

I can not understand why gsc emitted "gcc: error: unrecognized command
line option '-mno-cygwin'".
Please give me your help.

Thanks.
_______________________________________________
Gambit-list mailing list
Gambit-list@iro.umontreal.ca
https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list