public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: How to Save
       [not found] <8C658E9029C91D4D90C6960EF59FC0D607E3B27A48@HQCLSTR02.nrc.gov>
@ 2010-03-03 18:48 ` FX
  0 siblings, 0 replies; only message in thread
From: FX @ 2010-03-03 18:48 UTC (permalink / raw)
  To: Peng, Shie-Jeng; +Cc: gcc-help

[Please write to the gcc-help mailing-list, as more people can help you out there.]

> Hello,
>  
> It's so nice you can share this wonderful FORTRAN compiler with us.
>  
> I just started to learn how to use gfortran.  When I compiled my program, I found many lines of error messages scrolling on the screen.  Is there anyway to save those messages in a file?   I used the following command:
>  
> gfortran abc.f  > comp.out
>  
> but the messages still kept scrolling on the screen and comp.out had 0 size.

Redirect the standard error stream:

  gfortran abc.f 2> comp.out


> Your help will be appreciated.
>  
> Peng

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-03 18:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <8C658E9029C91D4D90C6960EF59FC0D607E3B27A48@HQCLSTR02.nrc.gov>
2010-03-03 18:48 ` How to Save FX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).