[squid-users] Re: How to build with static linking?

From: Steve Snyder <swsnyder@dont-contact.us>
Date: Tue, 25 Feb 2003 21:29:03 -0500

I take it then that there is no config option or similar for building
Squid statically?

---------- Forwarded Message ----------
Subject: How to build with static linking?
Date: Sat, 22 Feb 2003 12:35:40 -0500
From: Steve Snyder <swsnyder@insightbb.com>
To: squid-users@squid-cache.org

Is there a clean way to tell the Squid v2.5S1 build process (on a Linux
system) that I want to link the binaries staticly? If so, how is it
done?

Doing a "./configure --help" didn't tell me anything, and it seems that
setting a "LDFLAGS=-static" environment variable doesn't work either. I
know I can hack the makefile(s) to get static linking, but there must be
a better way.

I'm building Squid on a machine other than the one I will run it on. As
the 2 machines have different versions of GCC and GLIBC I want to make
sure that all the resources needed by Squid are linked into the binaries.

Advice, please? Thanks.

-------------------------------------------------------
Received on Tue Feb 25 2003 - 19:30:03 MST

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