This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: gfortran patch - g77 record markers
Paul Brook wrote:
Having said that I don't think this is the correct implementation of the
link-time mechanism. 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 need help with the Makefile bits that will put an individual object
file out in the tree where it can be found. The library was easy, i
just copied how libgfortran is done.
if you could point me to a makefile in gcc that does this, i will work it.
thanks,
bud