| delorie.com/archives/browse.cgi | search |
| From: | jlouwere AT galaxy DOT csc DOT calpoly DOT edu (Jan Louwerens) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: How do I re-direct errors/warnings to file? |
| Date: | 19 Jan 1997 06:13:19 GMT |
| Organization: | Cal Poly Computer Science Dept. |
| Lines: | 16 |
| Message-ID: | <5bse1v$q9l@waldorf.csc.calpoly.edu> |
| References: | <5brk34$q1q AT news DOT interlog DOT com> |
| NNTP-Posting-Host: | galaxy.csc.calpoly.edu |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Gautam N. Lad (gautam AT interlog DOT com) wrote: : QUESTION: : How do I direct the errors/warnings that are created after compile, : to a file? : I tried something like this at the prompt: : gxx -o tb.exe tb.cpp window.cpp -lgrx20 >ERRORS the > only pipes stdout to a file. use >& to pipe stdout and stderr to a file try: gxx -o tb.exe tb.cpp windows.cpp -lgrx20 >& ERRORS JL
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |