delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/06/14:39:51

From: Piter DOT Leal AT Alltel DOT com
To: djgpp AT delorie DOT com
Message-Id: <852565BF.006AEFFD.00@ALLTEL.COM>
Date: Fri, 6 Mar 1998 14:41:07 -0500
Subject: Have a question about printing compilation output, please!!
MIME-Version: 1.0

DJGPP:

I've been trying to pipe the output of a C++ compilation to a file called
'out.txt' so that it can be printed out, but it comes out empty.

I've tried  gcc  -c -Wall  (program_name).cc   > out.txt  and
gcc  -c -Wall  (program_name).cc  | out.txt    but they don't work.

I looked for printing switches for gcc but it seems that they don't exist.
Could  you help me on this??

Thanks.

-Piter



- Raw text -


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