Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!hplabs!sdcrdcf!trwrb!orion!heins From: heins@orion.UUCP (Michael T. Heins) Newsgroups: net.micro.mac Subject: Re: Porting UNIX Applications to the Mac Message-ID: <19@orion.UUCP> Date: Sun, 21-Sep-86 15:49:52 EDT Article-I.D.: orion.19 Posted: Sun Sep 21 15:49:52 1986 Date-Received: Mon, 22-Sep-86 21:33:47 EDT References: <1572@cbdkc1.UUCP> <1091@hoptoad.uucp> <15372@mordor.ARPA> <981@cit-vax.Caltech.Edu> <305@esl.UUCP> <3617@ism780c.UUCP> Reply-To: heins@orion.UUCP (Michael T. Heins) Organization: TRW Digital Developement Lab, Manhatten Beach, CA Lines: 13 [] >In article <305@esl.UUCP> mac@esl.UUCP (Mike McNamara) writes: >> >> I use "cat | cc -O " myself. > >On what UNIXs does this work? Most cc's that I have seen will not >take stdin. To get the desired results, I have always had to do this: > > ln /dev/tty /dev/tty.c > cc -O /dev/tty.c # damn thing wants a ".c" file! Well, you guys are just wasting CPU time going through that compiler. "adb /dev/mem" is much more manly.