Hi Ralf,

On 2008-06-09 14:24:00 +0200, Ralf Wildenhues wrote:
> Sigh.  They can't even keep compatibility with their own compiler.
> (IIRC at the point this code was introduced, -KPIC worked and -fPIC
> didn't.)

Didn't they mark it as deprecated before being removed?

> Does the configure script think that the compiler is GCC?

configure says:
[...]
checking for gcc... icc
checking for C compiler default output file name... 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... yes
checking whether icc accepts -g... yes
checking for icc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of icc... gcc3
checking for ICC... yes
checking for function prototypes... yes
checking how to run the C preprocessor... icc -E
[...]

config.log contains:

configure:2754: checking for gcc
configure:2781: result: icc
configure:3019: checking for C compiler version
configure:3026: icc --version >&5
icc (ICC) 10.1 20080312
Copyright (C) 1985-2008 Intel Corporation.  All rights reserved.

configure:3029: $? = 0
configure:3036: icc -v >&5
Version 10.1 
configure:3039: $? = 0
configure:3046: icc -V >&5
Intel(R) C Compiler for applications running on Intel(R) 64, Version 10.1    
Build 20080312 Package ID: l_cc_p_10.1.015
Copyright (C) 1985-2008 Intel Corporation.  All rights reserved.
30 DAY EVALUATION LICENSE

icc: NOTE: The evaluation period for this product ends on 15-jun-2008 UTC.

> What about icpc and ifort, if you have them (does it think GCC,
> which pic_flag)?

With icpc:

checking for icpc option to produce PIC... 

and build fails with:

icpc: command line warning #10006: ignoring unknown option '-frpath'
icpc: command line warning #10006: ignoring unknown option '-frpath'
icpc: command line warning #10156: ignoring option '-s'; no argument required
(0): internal error: backend signals

icpc: error #10014: problem during multi-file optimization compilation (code 4)
make[1]: *** [libmpfr.la] Error 4
make[1]: Leaving directory `/home/vlefevre/software/mpfr-2.3'
make: *** [all-recursive] Error 1
zsh: exit 2     =make

I don't have ifort.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to