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: gfortran patch - g77 record markers


My preference would be instead of linking a shared library we link an object file into the executable. This contains an __attribute__((constructor)) routine that calls set_default_record_marker_*.
It should be possible to link with just libgfortran.{so,a}, and get a working executable with sensible defaults.

I really like that idea! Takes the best of ech point of view (not lots of shared libraries, still possible to link with libgfortran with good defaults, and a link-time mechanism).


Sorry for this "me2" message with no real content, but this I found this idea really interesting.

FX


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