Re: Structure of large link libraries in f95



Walter Spector wrote:
Charles Russell wrote:

..
I asked approximately this same question about five years ago, but
perhaps less clearly, and perhaps there has been some progress in the
interim.


I think the real answer is the same as it was 5 years ago. Don't
worry about it.

Is it possible to create a module from a set of library routines by simply INCLUDEing f77 files, so as not to muck up the originals? The following try hangs up on the gfortran requirement for "END SUBROUTINE" where f77 has simply END.

use greetings
call hellosub()
end

module greetings
contains

c want to do the following but hung up on requirement for "end subroutine"
c include 'hellosub.f77'

subroutine hellosub()
write(6,*) 'hello'
return
end subroutine

end module
.