Re: [squid-users] how to use Intel C++ Compiler for squid

From: unixware <datareactor@dont-contact.us>
Date: Sun, 16 May 2004 20:48:20 -0700 (PDT)

> 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"

Thanks Steve for your reply

i think "-tpp6 -xK" i like -march=i686 in gcc

after exporting all these u suggested squid-2.4
compiles fine :)

i never tried to build rpm but i try if u send me the
squid.spec file

do u see any performance difference using icc ?

Regards

UW

> 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.
>

        
                
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/
Received on Sun May 16 2004 - 21:48:24 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:01 MDT