mirror of
https://https.git.savannah.gnu.org/git/gettext.git
synced 2026-01-26 15:39:11 +00:00
Support for Intel icc.
This commit is contained in:
parent
1a2c123309
commit
ada60192fc
@ -1,3 +1,7 @@
|
||||
2002-01-12 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* INSTALL: Add instructions for using Intel icc.
|
||||
|
||||
2002-01-11 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* configure.in: Change version number to 0.11-pre5.
|
||||
|
||||
6
INSTALL
6
INSTALL
@ -146,6 +146,12 @@ use the following options:
|
||||
|
||||
env CC="xlc -D_ALL_SOURCE" ./configure
|
||||
|
||||
On GNU/Linux with Intel icc as C/C++ compiler, config.guess guesses
|
||||
wrong and, as a consequence, libtool disables the use of shared libraries.
|
||||
To correct this, it is recommended to use the following options:
|
||||
|
||||
env CC="icc -D__ELF__" CXX="icc -D__ELF__" ./configure
|
||||
|
||||
On BeOS, user installed software goes in /boot/home/config, not
|
||||
/usr/local. It is recommended to use the following options:
|
||||
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
2002-01-12 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* libtool.m4: Add support for Intel icc.
|
||||
|
||||
2002-01-12 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* lib-prefix.m4 (AC_LIB_PREPARE_PREFIX): Fix shell programming mistake.
|
||||
|
||||
13
m4/libtool.m4
vendored
13
m4/libtool.m4
vendored
@ -874,6 +874,19 @@ AC_CACHE_VAL(lt_cv_prog_cc_pic,
|
||||
# PIC (with -KPIC) is the default.
|
||||
;;
|
||||
|
||||
linux*)
|
||||
echo '__INTEL_COMPILER' > conftest.$ac_ext
|
||||
if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null
|
||||
then
|
||||
lt_cv_prog_cc_can_build_shared=no
|
||||
else
|
||||
# Intel icc
|
||||
lt_cv_prog_cc_pic='-KPIC'
|
||||
lt_cv_prog_cc_static='-static'
|
||||
lt_cv_prog_cc_wl='-Qoption,ld,'
|
||||
fi
|
||||
;;
|
||||
|
||||
cygwin* | mingw* | pw32* | os2*)
|
||||
# This hack is so that the source file can tell whether it is being
|
||||
# built for inclusion in a dll (and should export symbols for example).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user