From 9d47e3f9b5b2722771b9c9154e275f2d79f9f58e Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Tue, 17 Sep 2002 12:10:46 +0000 Subject: - C++ support: fix to work also on -current, work around broken exception handling when generating shared objects with binutils/ld 2.12.[0,1], link in the icc C++ ABI definitions not those of gcc - remove libcprts (STL): it has unresolvable glibc dependencies in both, dynamic and static, versions, therefore is not usable and entirely unneeded when libstlport is used instead - add libimf (Intel's optimized math functions library), while there's no measurable speed improvement (at least for the functions tested) in comparison to FreeBSD's libm beyond the "normal" icc vs. gcc boost icc occasionally produces code depending on libimf when told to optimize for Pentium 4 - replace the ld-script with a wrapper written in C as (c)sh is a bit limited and long winded for that purpose - minor stuff and cleanup Submitted by: marius@alchemy.franken.de --- lang/icc/files/patch-icpc | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 lang/icc/files/patch-icpc (limited to 'lang/icc/files/patch-icpc') diff --git a/lang/icc/files/patch-icpc b/lang/icc/files/patch-icpc new file mode 100644 index 000000000000..03e4dd7c1c95 --- /dev/null +++ b/lang/icc/files/patch-icpc @@ -0,0 +1,41 @@ +--- opt/intel/compiler60/ia32/bin/icpc.orig Fri Sep 6 02:18:03 2002 ++++ opt/intel/compiler60/ia32/bin/icpc Tue Sep 10 18:32:59 2002 +@@ -1,29 +1,29 @@ + #!/bin/sh + +-INTEL_LICENSE_FILE=/licenses; ++PREFIX=@@PREFIX@@ ++export PREFIX; ++INTEL_LICENSE_FILE=${PREFIX}/intel/licenses; + export INTEL_LICENSE_FILE; + + if [ -z LD_LIBRARY_PATH ] + then +- LD_LIBRARY_PATH=/compiler60/ia32/lib; ++ LD_LIBRARY_PATH=${PREFIX}/intel/compiler60/ia32/lib; + else +- LD_LIBRARY_PATH=/compiler60/ia32/lib:$LD_LIBRARY_PATH ++ LD_LIBRARY_PATH=${PREFIX}/intel/compiler60/ia32/lib:$LD_LIBRARY_PATH + fi + export LD_LIBRARY_PATH; + + if [ -z PATH ] + then +- PATH=/compiler60/ia32/bin; ++ PATH=${PREFIX}/intel/compiler60/ia32/bin; + else +- PATH=/compiler60/ia32/bin:$PATH; ++ PATH=${PREFIX}/intel/compiler60/ia32/bin:$PATH; + fi + export PATH; + +-export -n IA32ROOT; unset IA32ROOT; +- + if [ $# != 0 ] + then +- exec -a "/compiler60/ia32/bin/icpc" /compiler60/ia32/bin/icpcbin "$@"; ++ exec ${PREFIX}/intel/compiler60/ia32/bin/icpcbin "$@"; + else +- exec -a "/compiler60/ia32/bin/icpc" /compiler60/ia32/bin/icpcbin; ++ exec ${PREFIX}/intel/compiler60/ia32/bin/icpcbin; + fi -- cgit v1.2.3