At 13.33 25/02/2002 -0800, Jessica Biola wrote:
>Does anyone here compile with static linking rather
>than dynamic?  I was curious to know if there were any
>advantages or disadvantages.  Right now I'm using one
>of the snapshots.

I use dynamic, personally, but because it is my choice.

Guys, please correct me: the advantage of using shared library should come 
out when you use the code in it, at the same time (for instance you have 
more than 1 htdig running, htmerge, org htfuzzy, ... or htsearch). The 
executables are generally smaller, and the operating system when loading 
them into memory, loads the shared code it needs as well: so if you run 
multiple instances of the same program, you actually loads only the 'base' 
part of it.

This should generally slow down the execution (but I guess it is not that 
bad). On the other hand, if you choose static linking, every program is a 
standalone executable file. This might be faster, but I can't tell you the 
difference as far as performances are concerned.

Hey, guys, any comments?

Ciao
-Gabriele
--
Gabriele Bartolini - Web Programmer
Current Location: Prato, Tuscany, Italy
[EMAIL PROTECTED] | http://www.prato.linux.it/~gbartolini | ICQ#129221447
 > find bin/laden -name osama -exec rm {} \;
-
Important:
--------------
I've experienced problems when receiving e-mail sent to the
address: [EMAIL PROTECTED] I think I lost much of it.
So if you sent me a message, and I never replied to you,
that's probably the reason. Please update your address book to
this one: [EMAIL PROTECTED] Sorry and thank you!


_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to