Re: [squid-users] Squid-3.0.STABLE7 Compilation errors on SPARC

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Tue, 08 Jul 2008 00:58:30 +0200

On tis, 2008-07-08 at 00:31 +0200, Guido Serassio wrote:

> So the patch should be applied to Squid3 STABLE, the fail during
> build is not correct .... :-)

I am thinking we probably should stop using the getopt build
environments by default.

I.e. the result which is now (from tonight) seen if one uses both

  --with-large-files --with-build-environment=default

which should only set -D_FILE_OFFSET_BITS=64 to enable large files on
most 32-bit platforms and ignored on most 64-bit platforms.

On nearly all platforms the default cflags is the more appropriate ones,
with other modes "optional or incomplete".

Solaris on SPARC may be an exception however if the Sun compilers still
defaults to generate 32-bit code by default even on 64-bit platforms...
but then is the option to use --with-build-environment=... to select a
more appropriate mode, or manually adding appropriate CFLAGS & CXXFLAGS
when running configure.

Regards
Henrik

Received on Mon Jul 07 2008 - 22:58:35 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 08 2008 - 12:00:04 MDT