• Advertisement
Sign in to follow this  

gcc question

This topic is 4046 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

when you add a .so like this: gcc -o test-bin test.o mylib.so does it add the entire so to the output or just link it on startup?

Share this post


Link to post
Share on other sites
Advertisement
mylib shold be resoleved (loaded) when test-bin is started.

if you run:
> ldd test-bin

you'll get at list with all dynamicly loaded libraries (and where they are found)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement