- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do we hide Common blocks within a dynamic library from other dynamic
libraries? The the -fvisibility=hidden compiler flag appears to be
effective in hiding subroutines, functions, and methods--but not common
blocks. Our main driver program is C++ and the dynamic libraries are mixed
Fortran/C++/C.
We're using Intel compilers version 10.0.020 for Fortran & C++ on an Intel Mac Pro running OS X 10.4.11.
If it's not possible from the compiler / dylib's point of view, would converting the common blocks to fortran 90 modules help?
p.s. the old post on dlopen should be in the FAQ. Is there a source of sample programs for Intel compilers like a simple dylib example? Is there a FAQ for this group?
libraries? The the -fvisibility=hidden compiler flag appears to be
effective in hiding subroutines, functions, and methods--but not common
blocks. Our main driver program is C++ and the dynamic libraries are mixed
Fortran/C++/C.
We're using Intel compilers version 10.0.020 for Fortran & C++ on an Intel Mac Pro running OS X 10.4.11.
If it's not possible from the compiler / dylib's point of view, would converting the common blocks to fortran 90 modules help?
p.s. the old post on dlopen should be in the FAQ. Is there a source of sample programs for Intel compilers like a simple dylib example? Is there a FAQ for this group?
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page