making Linux library

Hi I need to create C++ library for dynamic linking with exe.
Is there a good tutorial on coding SO?
Thanks
What is there to know?

Be careful with exporting C++ symbols from the library since name mangling is not standardized.

Compile all source files with -fPIC (position independent code) and link the .so with -shared.
Topic archived. No new replies allowed.