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

From: Steve Snyder <swsnyder@dont-contact.us>
Date: Sat, 22 Feb 2003 12:35:40 -0500

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 Sat Feb 22 2003 - 10:35:45 MST

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