Find the answer to your Linux question:
Results 1 to 2 of 2
I am working on fedora18, x86, 32-bit, gcc version 4.7.2 To hide symbols in a C/C++ shared object, you can compile the source with Code: -fvisibility=hidden . This seems not ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2013
    Posts
    2

    Hide symbols in fortran shared object


    I am working on fedora18, x86, 32-bit, gcc version 4.7.2
    To hide symbols in a C/C++ shared object, you can compile the source with
    Code:
     -fvisibility=hidden
    . This seems not to work when compiling fortran source. Any suggestions?

  2. #2
    Just Joined!
    Join Date
    Jun 2013
    Posts
    2
    Solved: This link explains how to use version scripting to select which symbols are visible outside the shared object.

    stackoverflow.com/questions/435352/limiting-visibility-of-symbols-when-linking-shared-libraries]linker - Limiting visibility of symbols when linking shared libraries - Stack Overflow

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •