benchris
December 10th, 2002, 02:20 PM
g++ -o my.so *.cxx
Thanks
Thanks
|
Click to See Complete Forum and Search --> : Is this the right way to creat library file(.so) in Solaris? benchris December 10th, 2002, 02:20 PM g++ -o my.so *.cxx Thanks PaulWendt December 10th, 2002, 03:53 PM 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: g++ "shared library" "how to" solaris That's bound to help you. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |