delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/31/04:30:54

From: pooler AT pcgame DOT com (Mike Pooler)
Newsgroups: comp.os.msdos.djgpp
Subject: Saving gcc's messages
Date: Fri, 31 Jul 1998 07:56:08 GMT
Organization: PC Game Finder
Lines: 23
Message-ID: <35c476e4.79147412@nntp1.best.com>
Reply-To: pooler AT pcgame DOT com
NNTP-Posting-Host: pooler.vip.best.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi! Since this is my first post, let me say how thrilled I am about
the existence of djgpp! I just discovered it today, and I'm very VERY
excited about the flat-memory model!

Here's a simple question (I hope). When I run gcc from the
command-line in a DOS shell, the compiler messages (warnings and
errors) are printed on the screen. When I try to redirect these, as
in:

gcc -c test.c > err.txt

It doesn't work- err.txt stays empty, and the errors are still printed
on the screen.

I checked the gcc options, and didn't see any way of directing the
messages into a file.

Please let me know if I can do this- or if not, if I can do it instead
with the "make" utility (which I haven't tried yet)...

Thanks :)


- Raw text -


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