This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: g77 and gfortran


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]