This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: gfortran patch - g77 record markers
On Tue, 31 May 2005 07:52:19 +0200 FX Coudert <fxcoudert@gmail.com> wrote:
> > I am with Steve on this. I would suggest libgfortran and libg77.
> This
> > way the new library libg77 can be used for other things that crop up.
>
> But then, the option should not be -frecord-mark-g77 but -fg77-io.
> Although I don't understand the need for a separate library. Couldn't
> different routines in the same library do the same trick? Obviously,
> the
> less libraries involved, the better.
The choice of default record marker is made at link time by linking in different
libraries (with the same API). So for every record marker format, a separate
library is needed. Perhaps it's cludgy, but I don't know of any simpler way.
--
Janne Blomqvist