info
Puneet Singhal
puneet@opussoft.com
Tue Feb 20 23:27:00 GMT 2001
Hi Suraj
>1) what is a shared object?
a shared object is a piece of code which is like a DLL on a windows problem.
at link time of a proggy only the adresses of symbols are added to the exec.
At runtime the shared object is loaded.Its path must appear in
LD_LIBRARY_PATH
>2)how to make a shared object in unix........
you can use GCC for it.
for *compiling* use the switch -fPIC and then use -shared to create the
library. it usually has an extension of .so.
>Is there any material avilable on the net from where i can get a
check out the manuals on gcc.gnu.org
cheers
Puneet
More information about the Gcc-help
mailing list