On Sat, Jun 13, 2009 at 1:58 AM, Mirko Vukovic<mirko.vuko...@gmail.com> wrote:
> I am running clisp on windows+cygwin., where the gcc compiler is
> available as `gcc'

Does the attached patch work for you?

-- 
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
--- old-cffi/grovel/grovel.lisp	2009-06-14 18:39:18.000000000 +0100
+++ new-cffi/grovel/grovel.lisp	2009-06-14 18:39:18.000000000 +0100
@@ -132,12 +132,10 @@
 
 ;;;# Grovelling
 
-;;; TODO: figure out a good way to let the user specify where his
-;;; compiler is.  Can already do that through the CC environment
-;;; variable, but that's not very convenient on windows?
+;;; TODO: look at the CC environment variable.
 (defparameter *cc*
-  #+windows "c:/msys/1.0/bin/gcc.exe"
-  #-windows "gcc")
+  #+(or cygwin (not windows)) "cc"
+  #+(and windows (not cygwin)) "c:/msys/1.0/bin/gcc.exe")
 
 (defparameter *cc-flags* (list))
 

_______________________________________________
cffi-devel mailing list
cffi-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel

Reply via email to