I cannot get g77 and gcc to redirect compiler messages to a text file. The line
g77 code.f > report.txt
only creates a file report.txt of zero lenght and any error or warning messages from the compiler only scroll by on the screen.
Try:
g77 code.f >& report.txt
Regards,
-- Toon Moene - mailto:toon@xxxxxxxxxxxxxxxxxxxx - phoneto: +31 346 214290 Saturnushof 14, 3738 XG Maartensdijk, The Netherlands Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html GNU Fortran 95: http://gcc.gnu.org/fortran/ (under construction)