Next: Portland Group Compilers
Up: Compile and test your
Previous: Compile and test your
First, with the GNU compilers:
gcc -o program program.c
g77 -o program program.f
will compile program.c and program.f into ``program''. The source for program.f90 cannot be compiled with the GNU compilers, as GNU does not offer a Fortran 90 compiler.
Options for optimizing programs with GNU compilers can be detailed in the gcc(1) and g77(1) manual pages.
Preston Smith
2002-09-16