From owner-freebsd-current Thu Dec 30 17:57:28 1999 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 58F6C15363 for ; Thu, 30 Dec 1999 17:57:26 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id RAA27219; Thu, 30 Dec 1999 17:57:24 -0800 (PST) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id RAA39464; Thu, 30 Dec 1999 17:57:24 -0800 (PST) (envelope-from jdp@polstra.com) Date: Thu, 30 Dec 1999 17:57:24 -0800 (PST) Message-Id: <199912310157.RAA39464@vashon.polstra.com> To: peter.jeremy@ALCATEL.COM.AU Subject: Re: gcc compiler problem part deux In-Reply-To: <99Dec31.091308est.40324@border.alcanet.com.au> References: <99Dec31.091308est.40324@border.alcanet.com.au> Organization: Polstra & Co., Seattle, WA Cc: current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <99Dec31.091308est.40324@border.alcanet.com.au>, Peter Jeremy 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 jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message