* g77 compiler
@ 2000-02-24 0:37 Sirkiä Olli
2000-04-01 0:00 ` Sirkiä Olli
0 siblings, 1 reply; 5+ messages in thread
From: Sirkiä Olli @ 2000-02-24 0:37 UTC (permalink / raw)
To: gcc-help
I compiled a FORTRAN program using g77 compiler version egcs-2.91.66 19990314
(egcs-1.1.2 release). How to get a compilation list file containing error and
warning messages (e.g. FILE.LST in FORTRAN 77). I couldn't find an answer to
this from g77 online manual.
Best regards!
Olli Sirkia (helpless from Finland)
^ permalink raw reply [flat|nested] 5+ messages in thread
* g77 compiler
@ 2008-01-22 19:23 Usha Govindarajulu
2008-01-22 19:25 ` Tom Browder
0 siblings, 1 reply; 5+ messages in thread
From: Usha Govindarajulu @ 2008-01-22 19:23 UTC (permalink / raw)
To: gcc-help
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.
Thanks,
Usha
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: g77 compiler
2008-01-22 19:23 Usha Govindarajulu
@ 2008-01-22 19:25 ` Tom Browder
2008-01-22 20:12 ` Tim Prince
0 siblings, 1 reply; 5+ messages in thread
From: Tom Browder @ 2008-01-22 19:25 UTC (permalink / raw)
To: Usha Govindarajulu; +Cc: gcc-help
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.
HTH.
-Tom
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: g77 compiler
2008-01-22 19:25 ` Tom Browder
@ 2008-01-22 20:12 ` Tim Prince
0 siblings, 0 replies; 5+ messages in thread
From: Tim Prince @ 2008-01-22 20:12 UTC (permalink / raw)
To: Tom Browder; +Cc: Usha Govindarajulu, gcc-help
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-01-22 2:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-24 0:37 g77 compiler Sirkiä Olli
2000-04-01 0:00 ` Sirkiä Olli
2008-01-22 19:23 Usha Govindarajulu
2008-01-22 19:25 ` Tom Browder
2008-01-22 20:12 ` Tim Prince
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).