General question about shared libraries on Solaris

J

JNLSeb

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?
 
W

Walter Roberson

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.)
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top