dynamic common

dynamic common

Is there an easy way to bind a fortran common to shared memory that has been previously allocated in a c++ procedure? This project has Ada, c++, c, and fortran code and uses gnatmake with --LINK=C++ as the linker in order to automatically perform ada and c++ elaborations at start up. The fortran libraries are hard coded into the gnatmake command line.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Intel Fortran supports a "dynamic common" feature that should do what you want. Please read about it in the compiler documentation.


Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today