|
-
December 10th, 2002, 03:20 PM
#1
Is this the right way to creat library file(.so) in Solaris?
g++ -o my.so *.cxx
Thanks
-
December 10th, 2002, 04:53 PM
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|