Hi Vincent,

* Vincent Lefevre wrote on Mon, Jun 09, 2008 at 02:04:15PM CEST:
> Build of shared libraries fails with icc 10.1 20080312 because libtool
> tries -KPIC instead of -fPIC:

> checking for icc option to produce PIC... -KPIC
> checking if icc PIC flag -KPIC works... no

> DEPRECATED AND REMOVED OPTIONS
> [...]
>    Removed Options
>        The following options are removed in this release of the compiler:
> [...]
>        -Kpic, -KPIC
>               Suggested replacement -fpic.
> 
>        -Knopic, -KNOPIC
>               Suggested replacement -fpic.

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

Does the configure script think that the compiler is GCC?  What about
icpc and ifort, if you have them (does it think GCC, which pic_flag)?

I'll fix this upstream in libtool master, but I'd appreciate if you
could test with that first.

Thanks,
Ralf



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

Reply via email to