Re: Compile Squid (2.5) statically

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 16 Jul 2003 16:40:55 +0200

ons 2003-07-16 klockan 17.52 skrev Joey Coco:
> Hello,
>
> How difficult is it to compile Squid statically, or mostly statically?

trivial, like any other application. Just tell the compiler to link
statically rather than dynamic.

> I'd like it to run on multiple xi386 machines, regardless of the versions
> of C and other libraries on each machine. OS is all Linux 2.4 however.

please note that you often get less efficient versions of several
libraries when compiling statically. For example, if you compile an
application statically to on RedHat Linux then you get the i386 version
of the library rather than the more efficient i686 library. If you are
using things like OpenSSL (https_port) then this can make a huge
different (up to 100% speed increase measured)

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
Please consult the Squid FAQ and other available documentation before
asking Squid questions, and use the squid-users mailing-list when no
answer can be found. Private support questions is only answered
for a fee or as part of a commercial Squid support contract.
If you need commercial Squid support or cost effective Squid and
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Wed Jul 16 2003 - 08:41:06 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:17 MST