(j3.2006) Alternative binding label without C interoperability?

Van Snyder Van.Snyder
Thu Sep 29 21:32:23 EDT 2016


On Fri, 2016-09-30 at 09:41 +0900, Cohen Malcolm wrote:
> Just use BIND(C,NAME=...).  Then you know the name you need to pass to
> the dynamic loading routines.

I think Tom's original proposal was to allow BIND(NAME=...) or
BIND(Fortran,NAME=...) to give a specific non-mangled global name to a
Fortran procedure (module or external), because BIND(C,NAME=...) puts
too many restrictions on the dummy arguments.  Sure, you can get around
them using C_PTR, C_LOC,... but that's ugly.





More information about the J3 mailing list