how to create and include dynamic labraries
Hi I'm new to linux programming, I'm interested if I can create windows dll like libraries and to use them in different programs. If yes, how?
|
Yes. Compile with gcc using the -fPIC option. Link using -shared and -soname options, and make sure the resulting library file is put somewhere in the ld.so dynamic link search path.
Manual pages you should read:
|
Look at the Program Library HOWTO
|
All times are GMT -5. The time now is 01:02 PM. |