diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2002-09-17 12:10:46 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2002-09-17 12:10:46 +0000 |
commit | 9d47e3f9b5b2722771b9c9154e275f2d79f9f58e (patch) | |
tree | 2bd9e420d1aa1b144a3b363491e21e3eb0cf73f5 /lang/icc/files/patch-icpc | |
parent | Track exim-4.xx now that ports/mail/exim is for exim-4.xx. (diff) |
- 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
Diffstat (limited to 'lang/icc/files/patch-icpc')
-rw-r--r-- | lang/icc/files/patch-icpc | 41 |
1 files changed, 41 insertions, 0 deletions
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=<INSTALLDIR>/licenses; ++PREFIX=@@PREFIX@@ ++export PREFIX; ++INTEL_LICENSE_FILE=${PREFIX}/intel/licenses; + export INTEL_LICENSE_FILE; + + if [ -z LD_LIBRARY_PATH ] + then +- LD_LIBRARY_PATH=<INSTALLDIR>/compiler60/ia32/lib; ++ LD_LIBRARY_PATH=${PREFIX}/intel/compiler60/ia32/lib; + else +- LD_LIBRARY_PATH=<INSTALLDIR>/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=<INSTALLDIR>/compiler60/ia32/bin; ++ PATH=${PREFIX}/intel/compiler60/ia32/bin; + else +- PATH=<INSTALLDIR>/compiler60/ia32/bin:$PATH; ++ PATH=${PREFIX}/intel/compiler60/ia32/bin:$PATH; + fi + export PATH; + +-export -n IA32ROOT; unset IA32ROOT; +- + if [ $# != 0 ] + then +- exec -a "<INSTALLDIR>/compiler60/ia32/bin/icpc" <INSTALLDIR>/compiler60/ia32/bin/icpcbin "$@"; ++ exec ${PREFIX}/intel/compiler60/ia32/bin/icpcbin "$@"; + else +- exec -a "<INSTALLDIR>/compiler60/ia32/bin/icpc" <INSTALLDIR>/compiler60/ia32/bin/icpcbin; ++ exec ${PREFIX}/intel/compiler60/ia32/bin/icpcbin; + fi |