Via: uk.ac.exeter.exua; Mon, 12 Oct 1992 09:31:20 +0100 From: John Cremona (Maths) Date: Mon, 12 Oct 92 09:30:17 BST To: MOSELECW AT elec DOT canterbury DOT ac DOT nz Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: redirecting stderr/ stdout Re error redirection. If the preprocessor produces an error, say because it cannot find an include file due to a typo, I find that it quits with no visible error message; compiling with -E oes not help, though if I compile with E and redirect output to a file, as with gcc -E prog.cc > temp then the file "temp" DOES have usefule error messages in it. This is the kind of thing which confuses novices! Incidentally, I have 1r2 in the environment variable. Is there a way of getting preprocessor errors straight to the screen as with compiler messages? John Cremona University of Exeter Department of MAthematics North Park Road Exeter EX4 4QE UK Tel.: 0392-263794 (Office) 0392-210758 (Home) email: cremona AT vortex1 DOT exeter DOT ac DOT uk