Forum: C++ Dec 1st, 2005 |
| Replies: 15 Views: 2,446 So, how did you compile and link the .so file? |
Forum: C++ Dec 1st, 2005 |
| Replies: 15 Views: 2,446 My bad.
Just to clarify:
1. You can link an entire module statically.
2. You can link just one or two libraries statically, and link the rest of the image dynamically:
cc myfile.c... |
Forum: C++ Nov 30th, 2005 |
| Replies: 15 Views: 2,446 No, no, not flags...
I'm assuming you're using C++ code - look for something like "libc++.a" and link against that. I don't know the name for the library file in Solaris. |
Forum: C++ Nov 30th, 2005 |
| Replies: 15 Views: 2,446 The "moving over" part is the reason for which static linking exists.
Your problem could be looked at another way: as an implementation/deployment issue.
Matching up correct code with correct... |
Forum: C++ Nov 30th, 2005 |
| Replies: 15 Views: 2,446 You're on the right track. I don't use Solaris, but I do know it has some (what I think are) funny conventions.
Now that I know it's Solaris, you can use versioning of your .so files, as long as... |
Forum: C++ Nov 30th, 2005 |
| Replies: 15 Views: 2,446 Yes. - it's called a static link. It means that all of the runtime you need is part of the image file - obviously a much bigger image file.
I can't tell which version of unix you have, but your... |
Forum: C++ Nov 16th, 2005 |
| Replies: 19 Views: 2,454 Whenever you compile C code you should enable warnings. Some compilers will not complain unless you tell them to complain.
What compiler are you using? Is it an ancient version
of BORLAND C++... |