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

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 26 Feb 2003 10:35:56 +0100

You need to pass your own CFLAGS settings to configure. See configure
--help.

Regards
Henrik

On Wednesday 26 February 2003 03.29, Steve Snyder wrote:
> 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 Wed Feb 26 2003 - 02:39:58 MST

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