Commit 1a71c7bc authored by Lynn Garren's avatar Lynn Garren
Browse files

add needed system libraries for icc

parent 5c4c84f9
2006-10-04 Lynn Garren <garren@fnal.gov>
* configure.in: add flags for the Intel compiler (icc)
Exceptions is not supported for use with icc.
==============================
20.06.06 Release CLHEP-1.9.2.3
==============================
......
......@@ -249,10 +249,11 @@ c++)
AR="ar"; ARFLAGS="cru"
esac;;
icc)
AM_CONDITIONAL(USING_ICC, test yes)
case "$target" in
*-*-linux*)
AM_CXXFLAGS="-O -ansi -mp -no-gcc -w1"
AM_LDFLAGS="-lstdc++"
AM_LDFLAGS="-lstdc++ -lcxa -lunwind"
MY_SHFLAGS="-fPIC -DPIC"; MY_SHLINK="-shared"; SHEXT=so
MY_SHNAME="-Wl,-soname,"; MY_LD="-Wl,--rpath -Wl,"
AR="xiar"; ARFLAGS="cru"
......
......@@ -50,6 +50,10 @@ check_SCRIPTS = \
excDblThrow.sh
# Identify test(s) to run when 'make check' is requested:
if USING_ICC
# Exceptions is not supported for icc
TESTS =
else
TESTS = \
testExceptions.sh \
testzmex.sh \
......@@ -59,6 +63,7 @@ TESTS = \
exctest3.sh \
exctest4.sh \
exctestNothrow.sh
endif
# excDblThrow.sh
......@@ -74,7 +79,7 @@ exctest2_SOURCES = exctest2.cc
exctest3_SOURCES = exctest3.cc
exctest4_SOURCES = exctest4.cc
exctestNothrow_SOURCES = exctestNothrow.cc
excDblThrow_SOURCES = excDblThrow.cc
#excDblThrow_SOURCES = excDblThrow.cc
# Identify input data file(s) and prototype output file(s):
#EXTRA_DIST = testExceptions.input testExceptions.output
......
......@@ -252,7 +252,7 @@ icc)
case "$target" in
*-*-linux*)
AM_CXXFLAGS="-O -ansi -mp -no-gcc -w1"
AM_LDFLAGS="-lstdc++"
AM_LDFLAGS="-lstdc++ -lcxa -lunwind"
MY_SHFLAGS="-fPIC -DPIC"; MY_SHLINK="-shared"; SHEXT=so
MY_SHNAME="-Wl,-soname,"; MY_LD="-Wl,--rpath -Wl,"
AR="xiar"; ARFLAGS="cru"
......
......@@ -251,7 +251,7 @@ icc)
case "$target" in
*-*-linux*)
AM_CXXFLAGS="-O -ansi -mp -no-gcc -w1"
AM_LDFLAGS="-lstdc++"
AM_LDFLAGS="-lstdc++ -lcxa -lunwind"
MY_SHFLAGS="-fPIC -DPIC"; MY_SHLINK="-shared"; SHEXT=so
MY_SHNAME="-Wl,-soname,"; MY_LD="-Wl,--rpath -Wl,"
AR="xiar"; ARFLAGS="cru"
......
......@@ -244,7 +244,7 @@ icc)
case "$target" in
*-*-linux*)
AM_CXXFLAGS="-O -ansi -mp -no-gcc -w1"
AM_LDFLAGS="-lstdc++"
AM_LDFLAGS="-lstdc++ -lcxa -lunwind"
MY_SHFLAGS="-fPIC -DPIC"; MY_SHLINK="-shared"; SHEXT=so
MY_SHNAME="-Wl,-soname,"; MY_LD="-Wl,--rpath -Wl,"
AR="xiar"; ARFLAGS="cru"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment