g++ -o my.so *.cxx
Thanks
Printable View
g++ -o my.so *.cxx
Thanks
Usually, each module has to be compiled with the -fPIC flag.
Then you make the shared library from all object files while you
link.
If you still have a problem, do a search on google for something
like:
That's bound to help you.Quote:
g++ "shared library" "how to" solaris