From: Eric P. <eri...@ce...> - 2003-06-03 14:31:49
|
Hello valgrind users, I am trying to compile Valgrind with the Intel compiler icc 7.1. But the "configure" command does not accept icc. Here is the "configure" output: # setenv CC icc # setenv CXX icc # ./configure --prefix `pwd` 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 whether ln -s works... yes checking for gcc... icc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether icc accepts -g... yes checking for style of include used by make... GNU checking dependency style of icc... gcc3 checking how to run the C preprocessor... icc -E checking whether we are using the GNU C++ compiler... no checking whether icc accepts -g... yes checking dependency style of icc... gcc3 checking for ranlib... ranlib configure: error: Valgrind relies on GCC to be compiled # Does anybody know a way to compile valgrind with icc ? Thanks. Regards. -- Eric Poinsignon (Eri...@ce...) Bldg 32,R-B03 CERN-EP-SFT LCG - AppArea - LCG Software Process & Infrastructure http://spi.cern.ch/extsoft/ Tel : +41 (0) 22 767 9157 Fax : not available yet. ICQ#: 52035855 |
From: Nicholas N. <nj...@ca...> - 2003-06-03 15:00:44
|
On Tue, 3 Jun 2003, Eric Poinsignon wrote: > I am trying to compile Valgrind with the Intel compiler icc 7.1. > But the "configure" command does not accept icc. Valgrind requires gcc, it uses various gcc-specific features. > Does anybody know a way to compile valgrind with icc ? Julian got it working a while ago, but it required a few changes. Can I ask why you are trying to use the Intel compiler? Presumably you have gcc on your Linux system. If you are using it to get better performance, there's not much point because Valgrind spends most of its time in code it generates itself. HTH N |
From: Arnaud D. <arn...@ge...> - 2003-06-03 16:02:58
|
----- Original Message ----- From: "Nicholas Nethercote" <nj...@ca...> To: "Eric Poinsignon" <eri...@ce...> Cc: <val...@li...> Sent: Tuesday, June 03, 2003 4:00 PM Subject: Re: [Valgrind-users] Valgrind 1.9.6 compilation with the Intel compiler icc > On Tue, 3 Jun 2003, Eric Poinsignon wrote: > > > I am trying to compile Valgrind with the Intel compiler icc 7.1. > > But the "configure" command does not accept icc. > > Valgrind requires gcc, it uses various gcc-specific features. > > > Does anybody know a way to compile valgrind with icc ? > > Julian got it working a while ago, but it required a few changes. > > Can I ask why you are trying to use the Intel compiler? Presumably you > have gcc on your Linux system. If you are using it to get better > performance, there's not much point because Valgrind spends most of its > time in code it generates itself. For record, valgrind runs fine any code generated by icc (and ifc if that is relevant) as long as the sse instructions are avoided. Regards, |
From: Eric P. <eri...@ce...> - 2003-06-04 07:39:02
|
Hello, Thanks for your fast and precise answers. You must be right, the gcc compiled valgrind should be sufficient. FYI: I have been asked to provide a set of tools (libraries and binaries) compiled with icc (32bits) and ecc (64bits). I tried to compile valgrind with gcc (64bits) but got a message saying it is ix86 specific, so no valgrind on 64bits machine. Regards. Arnaud Desitter wrote: > ----- Original Message ----- > From: "Nicholas Nethercote" <nj...@ca...> > To: "Eric Poinsignon" <eri...@ce...> > Cc: <val...@li...> > Sent: Tuesday, June 03, 2003 4:00 PM > Subject: Re: [Valgrind-users] Valgrind 1.9.6 compilation with the Intel > compiler icc > > > >>On Tue, 3 Jun 2003, Eric Poinsignon wrote: >> >> >>>I am trying to compile Valgrind with the Intel compiler icc 7.1. >>>But the "configure" command does not accept icc. >> >>Valgrind requires gcc, it uses various gcc-specific features. >> >> >>>Does anybody know a way to compile valgrind with icc ? >> >>Julian got it working a while ago, but it required a few changes. >> >>Can I ask why you are trying to use the Intel compiler? Presumably you >>have gcc on your Linux system. If you are using it to get better >>performance, there's not much point because Valgrind spends most of its >>time in code it generates itself. > > > For record, valgrind runs fine any code generated by icc (and ifc if that is > relevant) as long as the sse instructions are avoided. > > Regards, > > > -- Eric Poinsignon (Eri...@ce...) Bldg 32,R-B03 CERN-EP-SFT LCG - AppArea - LCG Software Process & Infrastructure http://spi.cern.ch/extsoft/ http://spi.cern.ch/lcgsoft/ Tel : +41 (0) 22 767 9157 Fax : not available yet. ICQ#: 52035855 |