• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Shared objects?

JonTheBaller

Golden Member
I have a shared object and its corresponding header file. I wrote some C code which will call on some of the functions implemented in the shared object. How do I tell the code which shared object to look in? I am using the gcc compiler btw.

> gcc test.c myobj.so

or something like that?
 
are you asking how to use a shared object in C or how to compile the code using gcc?


dam()
 
It's been a while... but I think it's

gcc file.c -c file.o

to create an object... and use -l<libfile> to link against one.
 
Back
Top