Porting UNIX Applications to the Mac

Chris Torek chris at umcp-cs.UUCP
Tue Oct 7 10:19:17 AEST 1986


>>>	I use "cat | cc -O " myself.

>In article <3617 at ism780c.UUCP> tim at ism780c.UUCP (Tim Smith) writes:
>>On what UNIXs does this work?   Most cc's that I have seen will not
>>take stdin. ...

In article <52 at its63b.ed.ac.uk> simon at its63b.ed.ac.uk (Simon Brown) writes:
>Or even better with symbolic links!
>
>Or perhaps, if you've got System V, you could use named pipes? :-)
>	/etc/mknod fifo.c p
>	cc -O fifo.c &
>	cat > fifo.c

In all seriousness, I sometimes run `/lib/ccom | /lib/c2' to
investigate some aspect of the compiler.  `/lib/cpp | /lib/ccom |
/lib/c2 | as -o foo.o' works too, on a 4BSD Vax.  (The Sun assembler
reads its input twice, and must be able to seek.  Alas!  The Vax
assembler is also two-pass, but it records its second-pass information
in /tmp files.)
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1516)
UUCP:	seismo!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at mimsy.umd.edu



More information about the Comp.unix mailing list