Yes, ICC (both 7.1 and 8.0) will build Squid v2.5Sx. I'll mail you the squid.spec file (I'm building for a Red Hat environment) if you want, but it really comes down to only 2 steps.
1. Run the script to set the ICC environment variables:
/usr/local/intel/compiler/bin/iccvars.sh
2. I add these to the squid.spec file immediately before running ./configure:
export CFLAGS="-tpp6 -xK -O3 -parallel -ip"
export CXXFLAGS="$CFLAGS"
export FFLAGS="$CFLAGS"
export CC=icc
export LD=icc
export LDFLAGS="-ip"
(Note that the "-tpp6 -xK" switches specify an i686 processor.)
Now when the binary RPM is built the Intel compiler/linker is used for the build.
On Sunday 16 May 2004 4:51 pm, unixware wrote:
> Dear all
>
> i have installed Intel C++ compiler but squid-3 is not
> picking this up i move the gcc from path .
>
> i installed in /opt/intel_cc_80/ and its in path
>
> will squid 2.5 code will work for this compiler ??
> boz its in c .
>
> [root@mx2 squid-3.0-PRE3-20040516]# ./configure
> checking for a BSD-compatible install...
> /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific
> portions of Makefiles... no
> checking for gcc... no
> checking for cc... no
> checking for cc... no
> checking for cl... no
> configure: error: no acceptable C compiler found in
> $PATH
> See `config.log' for more details.
>
>
>
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! - Internet access at a great low price.
> http://promo.yahoo.com/sbc/
Received on Sun May 16 2004 - 19:42:19 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:01 MDT