General question about shared libraries on Solaris

Discussion in 'C Programming' started by JNLSeb, Jan 24, 2008.

  1. JNLSeb

    JNLSeb Guest

    When on Solaris, if a shared library (libmylib.so) is built using the gcc
    compiler and Application 1 is built using a general C (cc) compiler but
    links in the newly built library (libmylib.so) would there be an error
    during the building of Applicaiton 1 or during the runtime of Application 1?
    JNLSeb, Jan 24, 2008
    #1
    1. Advertising

  2. In article <>,
    JNLSeb <> wrote:
    >When on Solaris, if a shared library (libmylib.so) is built using the gcc
    >compiler and Application 1 is built using a general C (cc) compiler but
    >links in the newly built library (libmylib.so) would there be an error
    >during the building of Applicaiton 1 or during the runtime of Application 1?


    Probably not with C (though quite possibly Yes if it was C++).
    But the place to check is comp.unix.solaris or comp.sys.sun.*
    as comp.lang.c does not discuss details of how linking is done.
    (All that the C standards say about linking is that it -is- done.)


    --
    "All is vanity." -- Ecclesiastes
    Walter Roberson, Jan 24, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Frode Langelo
    Replies:
    1
    Views:
    534
    White Wolf
    Aug 22, 2003
  2. chris
    Replies:
    4
    Views:
    886
    chris
    May 17, 2004
  3. Replies:
    1
    Views:
    301
    mlimber
    Jan 15, 2007
  4. idev
    Replies:
    6
    Views:
    415
  5. Replies:
    9
    Views:
    167
    John Wilger
    Mar 16, 2007
Loading...

Share This Page