Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!cbnewsl!bonnie!rbr From: rbr@bonnie.ATT.COM (4197,ATTT) Newsgroups: comp.unix.shell Subject: Re: question about compiling Message-ID: <1991Jan8.134849.23268@cbnewsl.att.com> Date: 8 Jan 91 13:48:49 GMT References: Sender: @cbnewsl.att.com Reply-To: rbr@bonnie.ATT.COM (Bob Rager) Distribution: comp.unix.shell Organization: AT&T Bell Laboratories Lines: 23 In article cshort@nmsu.edu (SpamG*D lord of potted meat products) writes: > >hi. > >since my acount size is small, i would like to set up source >code in a /tmp then compile it into my dir. how would i do this? >also is the a make toggle that would delete the souce files >when it is done with them? > >thanks > >chris >cshort@nmsu.edu I assume that the source code normally resides in a protected place and will not get removed if you crash. To put the output in your account: cc -o ~// .c The trick here is the "-o" option. I use "cc -O -s -o ~/bin/$PGM $PGM.c" in my compiles. Bob Rager