www.delorie.com/gnu/docs/gcc/g77_542.html   search  
 
Buy the book!


Using and Porting GNU Fortran

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

14. Collected Fortran Wisdom

Most users of g77 can be divided into two camps:

Users writing new code generally understand most of the necessary aspects of Fortran to write "mainstream" code, but often need help deciding how to handle problems, such as the construction of libraries containing BLOCK DATA.

Users dealing with "legacy" code sometimes don't have much experience with Fortran, but believe that the code they're compiling already works when compiled by other compilers (and might not understand why, as is sometimes the case, it doesn't work when compiled by g77).

The following information is designed to help users do a better job coping with existing, "legacy" Fortran code, and with writing new code as well.

14.1 Advantages Over f2c  If f2c is so great, why g77?
14.2 Block Data and Libraries  How g77 solves a common problem.
14.3 Loops  Fortran DO loops surprise many people.
14.4 Working Programs  Getting programs to work should be done first.
14.5 Overly Convenient Command-line Options  Temptations to avoid, habits to not form.
14.6 Faster Programs  Everybody wants these, but at what cost?


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003