This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: g77 and gfortran
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Granville Sewell <sewell at math dot utep dot edu>
- Cc: fortran at gcc dot gnu dot org
- Date: Sat, 18 Aug 2007 18:42:21 +0200
- Subject: Re: g77 and gfortran
- References: <200708181636.l7IGaHl0022560@banach.math.utep.edu>
Granville Sewell wrote:
Can g77 and gfortran-generated object codes be mixed?
Yes and no. As long as all I/O and the main program is contained in
gfortran-compiled code, and as long as you use gfortran for the linking
stage, everything should work. In some corner cases you may need to
provide the -ff2c flag, and perhaps the -fsecond-underscore flag.
Every other combination will probably fail.
Cheers,
- Tobi