Aaron
Aaron

Reputation: 2873

Static code on Solaris?

Question:

Upvotes: 1

Views: 855

Answers (4)

James McPherson
James McPherson

Reputation: 2576

If you pass the right flags to the linker, then you can create a static library or application. However, why would you want to? Static libraries are a pain to provide fixes for.

Upvotes: 2

Jim Lewis
Jim Lewis

Reputation: 45105

You can still create your own *.a libraries and link to them, but the system libraries will always be dynamically linked.

See: this post from blogs.oracle.com

Upvotes: 6

Lothar
Lothar

Reputation: 13073

It's a wise decision. The static linking idea does not really work well. Thats why LSB (Linux Standard Base) Project also forbids static linking. Compatibility moved away from system calls to a higher level in the last two decades.

Upvotes: 1

Brian Knoblauch
Brian Knoblauch

Reputation: 21379

Can't say I've ever gone looking for them, but did you check the "additional options" (or whatever they call it) CD/DVD? I remember it had other random "missing" things...

Upvotes: 0

Related Questions