I have recently tried building openssl-0.9.8j with the icc compiler. I
configure thusly:

./config shared --prefix=/myowndirectory linux-elf/icc:-gcc-version=420

And config reports "You gave the option 'shared'.  Normally, that would
give you shared libraries . . . " and goes on to say "If you can inform
the developers . . . how to support shared libraries on this platform,
they will at least look at it . . ."

I worked on this for a bit.  If I just configure allowing config to find
the default gcc compiler, thusly:

./config shared --prefix=/myowndirectory

it configures for linux-elf and has no problem with the "shared."  If I
then manually edit the makefile to replace "gcc" with "icc" it makes
shared libraries quite nicely.  It even passes make test if I also
specify no-hw-padlock.

I'm using version 11.0 of the Intel C++ Compiler (with subordinate
version 074, if that matters).  It seems to be very library-compatible
with gcc, and so I think it is not difficult to support shared libraries
on this platform.

I have no vested interest in Intel or its compiler, but others may be
able to benefit from building an openssl with icc, so I pass this
experience along.

Karl Cooper
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to