In article <[EMAIL PROTECTED]>, Peter
Jeremy <[EMAIL PROTECTED]> wrote:

> Last time I checked (I haven't moved to the latest gcc, so I can't
> confirm it there), one significant difference between 'cc -E'
> and /usr/libexec/cpp was that the latter would read from a pipe,
> whilst the former wouldn't.  This can make converting to 'cc -E' a
> non-trivial exercise.

That's what /dev/stdin is for:

    cat hello.c | cc -E -x c /dev/stdin

John
-- 
  John Polstra                                               [EMAIL PROTECTED]
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to