public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Tim Prince <tprince@myrealbox.com>
To: Tom Browder <tom.browder@gmail.com>
Cc: Usha Govindarajulu <usha@math.bu.edu>, gcc-help@gcc.gnu.org
Subject: Re: g77 compiler
Date: Tue, 22 Jan 2008 20:12:00 -0000	[thread overview]
Message-ID: <4795566E.5080109@myrealbox.com> (raw)
In-Reply-To: <8bc817ee0801211746x3c890839l71619392f2b63bc9@mail.gmail.com>

Tom Browder wrote:
> On Jan 21, 2008 3:58 PM, Usha Govindarajulu <usha@math.bu.edu> wrote:
>> Hi,
>>   I am trying to use the g77 program to compile multiple .f files with one
>> main file, i.e.:
>>
>> g77 -o Makefile beta.f set_up.f final.f
>>
>> I would like to know how to output the error messages that appear on the
>> screen to a text file.  I tried what was suggested with -e errfile but
>> this did not work.  I appreciate your help.
> 
> If you're using *nix and a c shell you can do:
> 
>   % g77 ... >& compile.log
> 
> and all stdout and stder will be captured in file 'compile.log'.
> 
> If you're a bash user you can do:
> 
>   % g77 ... > compile.log 2>&1
> 
> to do the same thing.
> 
> Good luck if you're on Windows.
> 
For any version of Windows cmd shell which didn't go off support at
least 2 years ago, it's the same as the suggestion for bash.

  reply	other threads:[~2008-01-22  2:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-22 19:23 Usha Govindarajulu
2008-01-22 19:25 ` Tom Browder
2008-01-22 20:12   ` Tim Prince [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-02-24  0:37 Sirkiä Olli
2000-04-01  0:00 ` Sirkiä Olli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4795566E.5080109@myrealbox.com \
    --to=tprince@myrealbox.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=tom.browder@gmail.com \
    --cc=usha@math.bu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).