www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/25/13:53:36

From: kunst AT prl DOT philips DOT nl
Subject: Re: Logfile
To: mwijz AT phys DOT uva DOT nl (Maud Wijzenbeek)
Date: Thu, 25 Aug 1994 16:57:13 +0100 (METDST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP users list)

Maurits Wijzenbeek (mwijz AT phys DOT uva DOT nl) writes:

> Is there a way to get the error messages of the DJGPP compiler
> into a log file? `gcc xxx.c > xxx.log' does not work. I would
> like to see the errors while editing the source.

I think this is one of the most FAQs.
It therefore should be in the FAQ list (and maybe is! ;-)

Try: SET GO32=2R1 
And: gcc xxx.c >xxx.log

This redirects all standard error messages to standard output.
One gotcha to watch out for: Errors from the C-preprocessor (cpp)
are fed into the C-Compiler (cc1) which can give rise to strange
error messages!

Pieter Kunst (kunst AT prl DOT philips DOT nl)


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019