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

From: Sam TH (samth at ccs.neu.edu)
Date: Sun Sep 9 10:47:12 EDT 2007

On 9/9/07, Geoffrey S. Knauth <geoff at knauth.org> wrote:
>
> On Sep 9, 2007, at 07:53, Geoffrey S. Knauth wrote:
> On Sep 9, 2007, at 07:40, Matthew Flatt wrote:
> 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).
>
> Thank you, Matthew!  I'm going to do a little test to see if, with gcc, the
> -I flags are passed to both the preprocessor and the compiler.
> 1.  My immediate problem is solved (thank you!).
>
> 2.  Just noodling around...  I can't tell if gcc uses cpp any more.  I only
> see a call to cc1 below.

cpp has been factored out into a library, which cc1 and the cpp binary
both use.

-- 
sam th
samth at ccs.neu.edu


Posted on the users mailing list.