home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17548 < prev    next >
Encoding:
Internet Message Format  |  1992-11-22  |  1.0 KB

  1. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!think.com!ames!agate!e260-1c.berkeley.edu!c60b-1fk
  2. From: c60b-1fk@e260-1c.berkeley.edu (Ahmon Dancy)
  3. Newsgroups: comp.os.linux
  4. Subject: Redirecting output w/ GCC
  5. Date: 22 Nov 1992 18:23:42 GMT
  6. Organization: University of California, Berkeley
  7. Lines: 14
  8. Distribution: world
  9. Message-ID: <1eoj7eINNppd@agate.berkeley.edu>
  10. NNTP-Posting-Host: e260-1c.berkeley.edu
  11. Originator: c60b-1fk@e260-1c.berkeley.edu
  12.  
  13. I don't think this is a FAQ so I'll be brave:
  14.  
  15. Does anyone know how to redirect the output of GCC?
  16. gcc ....  > outfile 
  17. doesn't work for me...  it just gets overridden and
  18. output goes to the screen.  I figure this is
  19. because gcc outputs to stderr.  I know there is 
  20. some kind of shell command to make this work but
  21. I can't remember it.  Any clues are appreciated.
  22.  
  23. -- 
  24. -------------------------------------------------------------------------------
  25. Ahmon Dancy  (c60b-1fk@webworm.berkeley.edu)
  26. -------------------------------------------------------------------------------
  27.