From: slanning AT buphy DOT bu DOT edu (Scott Lanning) Newsgroups: comp.os.msdos.djgpp Subject: Re: a weird (stupid) thing with djgpp - question Date: 1 Dec 1998 04:13:00 GMT Organization: Boston Univ. Physics Lines: 17 Message-ID: <73vqcc$lpq$1@news1.bu.edu> References: <73vocb$mb6$1 AT news DOT nyu DOT edu> NNTP-Posting-Host: buphy.bu.edu X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Daniel Marques (djm7195 AT no DOT spam DOT is4 DOT nyu DOT edu) wrote: : and accidentally type : gxx -o File.cpp : not only does djgpp respond with a message telling me something along the : line of undefined reference to main : BUT IT ERASES THE FILE!!!!! [snip] : is there anyway to get around it (besides typing more carefully)? 1) RHIDE 2) shell script / make file 3) alias gxx='gxx -c' 4) make backups (Emacs does it automagically) 5) never rely on a.out 6) drink more/less coffee 8 } 7) friends don't let friends type drunk