[plt-scheme] mzc, ++ccf <flag> : Add C compiler flag

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sun Sep 9 07:40:18 EDT 2007

At Sun, 9 Sep 2007 00:30:57 -0400, "Geoffrey S. Knauth" wrote:
> Maybe I'm mistaken, but it appears +ccf -I/opt/local/include/mysql5/ 
> mysql is not passing the include path to the C compiler.

Try ++cppf instead of ++ccf.

The compile is failing in the step of pre-processing code to cooperate
with the 3m GC, which is a separate step from invoking the compiler.

I see, though, that if you were building for CGC, then you'd have to
use ++ccf instead of ++cppf, because there's no separate pre-processing
step in CGC compilation. To fix that inconsistency, I think all the
++cppf flags should be used for ++ccf, too, which would be analogous to
the way that CPPFLAGS and CFLAGS usually work (I think).


Posted on the users mailing list.