Re: How to Save

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[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



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux