1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Update ports for 7.1.015

Submitted by:	 Masakazu HIGAKI <higamasa@dream.com>
This commit is contained in:
Maho Nakata 2003-04-28 22:17:47 +00:00
parent 14e3e88476
commit e3e325354d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79811
39 changed files with 3493 additions and 1847 deletions

View File

@ -6,11 +6,10 @@
#
PORTNAME= ifc
PORTVERSION= 6.0.1.304
PORTREVISION= 1
PORTVERSION= 7.1.015
CATEGORIES= lang linux devel
MASTER_SITES=
DISTNAME= l_fc_p_6.0.1.304
DISTNAME= l_fc_pu_${PORTVERSION}
EXTRACT_SUFX= .tar
MAINTAINER= maho@FreeBSD.org
@ -29,38 +28,46 @@ USE_REINPLACE= yes
NO_WRKSUBDIR= yes
NO_FILTER_SHLIBS= yes
MAN1= ifc.1
MANPREFIX= ${PREFIX}/intel/compiler60/
COMPILERDIR= compiler70
PLIST_SUB= COMPILERDIR=${COMPILERDIR}
PATCH_WRKSRC= ${WRKSRC}/opt/intel/${COMPILERDIR}
MAN1= ifc.1
MANPREFIX= ${PREFIX}/intel/${COMPILERDIR}/
IFC_SITE= http://www.intel.com/software/products/compilers/
.include <bsd.port.pre.mk>
IFCFFGVAL= ${OSREL:C/\..*//}
IFCCFGVAL!= ${UNAME} -r | ${SED} -e 's/\..*//'
CPIO?= /usr/bin/cpio
OBJCOPY?= /usr/bin/objcopy
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE= "Please manually download ${DISTFILES} from ${IFC_SITE}, ${IFC_SITE}f60l/noncom.htm or https://premier.intel.com/ \(whichever has the file, to access premier.intel.com you have to register at http://www.intel.com/software/products/registrationcenter/index.htm\). With a little bit of luck it may also be available from ftp://download.intel.com/software/products/compilers/downloads/. Put it into ${DISTDIR} and run make again"
IGNORE= "Please manually download ${DISTFILES} from ${IFC_SITE}, ${IFC_SITE}flin/noncom.htm or https://premier.intel.com/ \(whichever has the file, to access premier.intel.com you have to register at http://www.intel.com/software/products/registrationcenter/index.htm\). With a little bit of luck it may also be available from ftp://download.intel.com/software/products/compilers/downloads/. Put it into ${DISTDIR} and run make again"
.endif
.if exists(${PREFIX}/intel/compiler60/bin/icc)
BROKEN= Cannot coexist with icc
.if exists(${LINUXBASE}/boot/kernel.h) #|| \
# exists(${PREFIX}/intel/compiler60/bin/icc) || \
# exists(${PREFIX}/intel/compiler70/bin/icc)
BROKEN= Cannot coexist with linux_devtools or icc
.endif
post-extract:
.for i in \
intel-ifc6-6.0.1-304.i386.rpm
# intel-ildb6-6.0.1-310.i386.rpm \
# intel-efc6-6.0.1-304.ia64.rpm \
# intel-eldb6-6.0.1-310.ia64.rpm
@${SED} 's:%%COMPILERDIR%%:${COMPILERDIR}:' ${FILESDIR}/cpio-exclude \
>${WRKDIR}/cpio-exclude
.if defined(NOPORTDOCS)
@cd ${WRKSRC} && rpm2cpio 2>/dev/null ${i} | \
cpio -idfuE ${FILESDIR}/cpio-exclude --quiet \
*/opt/intel/compiler60/docs/*
.else
@cd ${WRKSRC} && rpm2cpio 2>/dev/null ${i} | \
cpio -idfuE ${FILESDIR}/cpio-exclude --quiet
@${SED} 's:%%COMPILERDIR%%:${COMPILERDIR}:' \
${FILESDIR}/cpio-exclude_noportdocs >>${WRKDIR}/cpio-exclude
.endif
.for i in \
intel-ifc7-7.1-13.i386.rpm
# intel-iidb7-7.1-24.i386.rpm \
# intel-efc7-7.1-13.ia64.rpm \
# intel-eidb7-7.1-24.ia64.rpm
@cd ${WRKSRC} ; rpm2cpio 2>/dev/null ${i} | \
${CPIO} -idfuE ${WRKDIR}/cpio-exclude --quiet
.endfor
pre-patch:
@ -68,81 +75,100 @@ pre-patch:
@${CHMOD} a+rx ${WRKSRC}/opt
# Remove unneeded/unsafe access rights
.for i in docs ia32/include ia32/lib
@${FIND} ${WRKSRC}/opt/intel/compiler60/${i} -type f -print0 | \
${XARGS} -0 ${CHMOD} a-x,g-w
@${FIND} ${WRKSRC}/opt/intel/${COMPILERDIR}/${i} -type f -print0 | \
xargs -0 ${CHMOD} a-x,g-w
.endfor
@${FIND} ${WRKSRC}/opt -type d -print0 | xargs -0 ${CHMOD} go-w
# Use the Linux ABI for the binaries
.for i in INTEL f90com fpp icid ifcbin ifccem lmgrd.intel lmutil \
profmerge proforder xiar xild
@brandelf -t Linux ${WRKSRC}/opt/intel/compiler60/ia32/bin/${i}
.for i in ifcbin fpp icid f90com profmerge proforder xiar xild
@brandelf -t Linux ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
.endfor
post-patch:
# Correct some paths and patch some files
.for i in ia32/bin/ifcvars.csh ia32/bin/ifcvars.sh \
ia32/bin/ifc ia32/bin/ifc.cfg docs/fsupport
@${REINPLACE_CMD} -i "" -e 's:@@PREFIX@@:${PREFIX}:g; s@\<INSTALLDIR\>@${PREFIX}/intel@g; s@man -w@manpath -q@g; s:\<INSTALLTIMECOMBOPACKAGEID\>:${DISTNAME}:g' \
${WRKSRC}/opt/intel/compiler60/${i}
@${CHMOD} 755 ${WRKSRC}/opt/intel/compiler60/${i}
.for i in ia32/bin/ifc ia32/bin/ifcvars.csh ia32/bin/ifcvars.sh
@${REINPLACE_CMD} -i "" -e 's:@@PREFIX@@:${PREFIX}:g; s@\<INSTALLDIR\>@${PREFIX}/intel@g; s@man -w@manpath -q@g' \
${WRKSRC}/opt/intel/${COMPILERDIR}/${i}
@${CHMOD} 755 ${WRKSRC}/opt/intel/${COMPILERDIR}/${i}
.endfor
@${REINPLACE_CMD} -i "" -e 's:\<INSTALLTIMECOMBOPACKAGEID\>:${DISTNAME}:g' \
${WRKSRC}/opt/intel/${COMPILERDIR}/docs/fsupport
.for i in ifc.orig
@${RM} ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
.endfor
@${RM} ${WRKSRC}/opt/intel/compiler60/ia32/bin/ifc.orig
# Remove empty directory
.if defined(NOPORTDOCS)
@${RM} -rf ${WRKSRC}/opt/intel/compiler60/docs
.endif
# Provide a more FreeBSD'ish compile environment
.for i in ifc.cfg
@${ECHO} -e "\n-Ulinux\n-U__linux__\n-U__linux\n\n-D__FreeBSD__=${IFCFFGVAL}\n-D__ELF__=1\n" >>${WRKSRC}/opt/intel/compiler60/ia32/bin/${i}
@${CHMOD} a-x,g-w ${WRKSRC}/opt/intel/compiler60/ia32/bin/${i}
@${REINPLACE_CMD} -i "" -e 's:-Xlinker -rpath -Xlinker <INSTALLDIR>/${COMPILERDIR}/ia32/lib::g' \
-e 's@\<INSTALLDIR\>@${PREFIX}/intel@g;' \
${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
@${ECHO} -e "-Qlocation,ld,${PREFIX}/intel/${COMPILERDIR}/ia32/bin/ldwrapper\n\n-Ulinux\n-U__linux__\n-U__linux\n-U__gnu_linux__\n\n-D__FreeBSD__=${IFCCFGVAL}\n-D__ELF__=1\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
@${CHMOD} a-x,g-w ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
.endfor
# C++ hack for ifc
@${ECHO} -e "\n-Qoption,ld,-CPLUSPLUS\n" >>${WRKSRC}/opt/intel/compiler60/ia32/bin/ifc.cfg
@cd ${WRKSRC}/opt/intel/compiler60/ia32/bin/ && ${LN} -s ifc.cfg ifcbin.cfg
@cd ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ && ${LN} -s ifc.cfg ifcbin.cfg
do-build:
# Fix unresolved references
@cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/assert_fail.c \
${FILESDIR}/cxa_atexit.c ${FILESDIR}/cxa_finalize.c \
${FILESDIR}/linux_file.c ${FILESDIR}/sysconf.c \
${FILESDIR}/mmap.c ${FILESDIR}/pthread.c \
${FILESDIR}/errno_location.c ${FILESDIR}/mcount.S
.if ( ${OSVERSION} < 470000 ) || \
.if ( ${OSVERSION} < 470101 ) || \
( ${OSVERSION} >= 500000 && ${OSVERSION} < 500042 )
@${CC} ${CFLAGS} -c -o ${WRKSRC}/stdin.o ${FILESDIR}/stdin.c
@${CC} ${CFLAGS} -c -o ${WRKSRC}/stdout.o ${FILESDIR}/stdout.c
@${CC} ${CFLAGS} -c -o ${WRKSRC}/stderr.o ${FILESDIR}/stderr.c
.else
.for i in libcxa.a libimf.a libirc.a libircmt.a libunwind.a \
libBINDF90.a libCEPCF90.a libF90.a libIEPCF90.a libPEPCF90.a \
libcprts.a libintrins.a libompstub.a
@${OBJCOPY} --redefine-sym stderr=__stderrp \
--redefine-sym stdout=__stdoutp \
${WRKSRC}/opt/intel/compiler60/ia32/lib/${i}
@${OBJCOPY} --redefine-sym stdin=__stdinp \
--redefine-sym stdout=__stdoutp \
--redefine-sym stderr=__stderrp \
${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/lib/${i}
.endfor
.endif
@${AR} q ${WRKSRC}/opt/intel/compiler60/ia32/lib/libcxa.a ${WRKSRC}/*.o
@(cd ${WRKSRC}; ${AR} x /usr/lib/libcompat.a ftime.o)
@${AR} q ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/lib/libcxa.a ${WRKSRC}/*.o
.for i in BINDF90 PEPCF90 CEPCF90 POSF90 IEPCF90
@${OBJCOPY} --redefine-sym stat=Stat --redefine-sym fstat=Fstat \
--redefine-sym lstat=Lstat --redefine-sym lseek=Lseek \
--redefine-sym mknod=Mknod \
${WRKSRC}/opt/intel/compiler60/ia32/lib/lib${i}.a
@${OBJCOPY} --strip-symbol=stat \
--strip-symbol=fstat \
--strip-symbol=lstat \
--redefine-sym lseek=Lseek \
--redefine-sym lseek64=lseek \
--redefine-sym open64=open \
--redefine-sym creat64=creat \
--redefine-sym ftruncate64=ftruncate \
--redefine-sym mmap=Mmap \
${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/lib/lib${i}.a
.endfor
# Some magic to be able to link
@${CC} ${CFLAGS} -o ${WRKSRC}/opt/intel/compiler60/ia32/bin/ld ${FILESDIR}/ld.c
@${STRIP_CMD} ${WRKSRC}/opt/intel/compiler60/ia32/bin/ld
@${CHMOD} 755 ${WRKSRC}/opt/intel/compiler60/ia32/bin/ld
@${MKDIR} ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper
@${CC} ${CFLAGS} -o \
${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld \
${FILESDIR}/ld.c
@${STRIP_CMD} ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld
@${CHMOD} 755 ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld
do-install:
@cd ${WRKSRC}/opt && ${TAR} -cf - . | \
${TAR} -xf - -C ${PREFIX}
@cd ${WRKSRC}/opt && ${FIND} . -print | \
${CPIO} -pdu -R ${BINOWN}:${BINGRP} --quiet ${PREFIX}
post-install:
@${ECHO_CMD} "${PKGNAME} is now installed in ${PREFIX}/intel, to use it you have to"
@${ECHO_CMD} "put your license into your \$${INTEL_FLEXLM_LICENSE} (default:"
@${ECHO_CMD} "${PREFIX}/intel/licenses) directory and add"
@${ECHO_CMD} "${PREFIX}/intel/compiler60/ia32/bin to your PATH."
@${ECHO_CMD} "${PREFIX}/intel/${COMPILERDIR}/ia32/bin to your PATH."
@${ECHO_CMD}
@${ECHO_CMD} "If you use ifc on a Pentium 4 make sure you have 'options CPU_ENABLE_SSE'"
@${ECHO_CMD} "in your kernel config (have a look at http://www.FreeBSD.org/handbook/"
@${ECHO_CMD} "if you do not know how to do this), else ifc will hang forever."
@${ECHO_CMD}
@${ECHO_CMD} "WARNING: If you use ifc while having linux_devtools installed, ifc will use"
@${ECHO_CMD} "the wrong includes and therefore will generate bogus (not working) binaries!"
@${ECHO_CMD}
@${ECHO_CMD} "If you encounter further problems with ifc please consult the errata at"
@${ECHO_CMD} "http://support.intel.com/support/performancetools/fortran/Fortran_Compiler_Errata.htm"
@${ECHO_CMD} "first."
.include <bsd.port.post.mk>

View File

@ -1 +1 @@
MD5 (l_fc_p_6.0.1.304.tar) = 6805df05f10ddea69080bf8d3c8d86de
MD5 (l_fc_pu_7.1.015.tar) = e910735f412951a4812231b8d4320eb0

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc/files/assert_fail.c,v 1.1 2002-11-18 09:27:32 maho Exp $
* $FreeBSD: /tmp/pcvs/ports/lang/ifc/files/assert_fail.c,v 1.2 2003-04-28 22:17:47 maho Exp $
*/
#include <err.h>

View File

@ -1,70 +1,77 @@
*/opt/intel/compiler60/ia32/bin/uninstall
*/opt/intel/compiler60/ia32/include/algorithm
*/opt/intel/compiler60/ia32/include/bitset
*/opt/intel/compiler60/ia32/include/complex
*/opt/intel/compiler60/ia32/include/deque
*/opt/intel/compiler60/ia32/include/fstream
*/opt/intel/compiler60/ia32/include/fstream.h
*/opt/intel/compiler60/ia32/include/functional
*/opt/intel/compiler60/ia32/include/hash_map
*/opt/intel/compiler60/ia32/include/hash_set
*/opt/intel/compiler60/ia32/include/iomanip
*/opt/intel/compiler60/ia32/include/iomanip.h
*/opt/intel/compiler60/ia32/include/ios
*/opt/intel/compiler60/ia32/include/iosfwd
*/opt/intel/compiler60/ia32/include/iostream
*/opt/intel/compiler60/ia32/include/iostream.h
*/opt/intel/compiler60/ia32/include/istream
*/opt/intel/compiler60/ia32/include/iterator
*/opt/intel/compiler60/ia32/include/limits
*/opt/intel/compiler60/ia32/include/list
*/opt/intel/compiler60/ia32/include/locale
*/opt/intel/compiler60/ia32/include/map
*/opt/intel/compiler60/ia32/include/memory
*/opt/intel/compiler60/ia32/include/numeric
*/opt/intel/compiler60/ia32/include/ostream
*/opt/intel/compiler60/ia32/include/queue
*/opt/intel/compiler60/ia32/include/set
*/opt/intel/compiler60/ia32/include/slist
*/opt/intel/compiler60/ia32/include/sstream
*/opt/intel/compiler60/ia32/include/stack
*/opt/intel/compiler60/ia32/include/stdexcept
*/opt/intel/compiler60/ia32/include/stdiostream.h
*/opt/intel/compiler60/ia32/include/stl.h
*/opt/intel/compiler60/ia32/include/stream.h
*/opt/intel/compiler60/ia32/include/streambuf
*/opt/intel/compiler60/ia32/include/string
*/opt/intel/compiler60/ia32/include/strstream
*/opt/intel/compiler60/ia32/include/strstream.h
*/opt/intel/compiler60/ia32/include/utility
*/opt/intel/compiler60/ia32/include/valarray
*/opt/intel/compiler60/ia32/include/vector
*/opt/intel/compiler60/ia32/include/xcomplex
*/opt/intel/compiler60/ia32/include/xdebug
*/opt/intel/compiler60/ia32/include/xhash
*/opt/intel/compiler60/ia32/include/xiosbase
*/opt/intel/compiler60/ia32/include/xlocale
*/opt/intel/compiler60/ia32/include/xlocinfo
*/opt/intel/compiler60/ia32/include/xlocinfo.h
*/opt/intel/compiler60/ia32/include/xlocmes
*/opt/intel/compiler60/ia32/include/xlocmon
*/opt/intel/compiler60/ia32/include/xlocnum
*/opt/intel/compiler60/ia32/include/xloctime
*/opt/intel/compiler60/ia32/include/xmemory
*/opt/intel/compiler60/ia32/include/xstring
*/opt/intel/compiler60/ia32/include/xtree
*/opt/intel/compiler60/ia32/include/xutility
*/opt/intel/compiler60/ia32/include/ymath.h
*/opt/intel/compiler60/ia32/lib/libcprts.so
*/opt/intel/compiler60/ia32/lib/libcprts.so.1
*/opt/intel/compiler60/ia32/lib/libguide.a
*/opt/intel/compiler60/ia32/lib/libguide.so
*/opt/intel/compiler60/ia32/lib/libunwind.so
*/opt/intel/compiler60/ia32/lib/libunwind.so.1
*/opt/intel/compiler60/ia32/lib/libimf.so
*/opt/intel/compiler60/ia32/lib/libintrins.so
*/opt/intel/compiler60/ia32/lib/libCEPCF90.so
*/opt/intel/compiler60/ia32/lib/libF90.so
*/opt/intel/compiler60/ia32/lib/libIEPCF90.so
*/opt/intel/compiler60/ia32/lib/libPEPCF90.so
*/opt/intel/compiler60/ia32/lib/libPOSF90.so
*/opt/intel/%%COMPILERDIR%%/ia32/bin/uninstall
*/opt/intel/%%COMPILERDIR%%/ia32/include/algorithm
*/opt/intel/%%COMPILERDIR%%/ia32/include/bitset
*/opt/intel/%%COMPILERDIR%%/ia32/include/complex
*/opt/intel/%%COMPILERDIR%%/ia32/include/deque
*/opt/intel/%%COMPILERDIR%%/ia32/include/fstream
*/opt/intel/%%COMPILERDIR%%/ia32/include/fstream.h
*/opt/intel/%%COMPILERDIR%%/ia32/include/functional
*/opt/intel/%%COMPILERDIR%%/ia32/include/hash_map
*/opt/intel/%%COMPILERDIR%%/ia32/include/hash_set
*/opt/intel/%%COMPILERDIR%%/ia32/include/iomanip
*/opt/intel/%%COMPILERDIR%%/ia32/include/iomanip.h
*/opt/intel/%%COMPILERDIR%%/ia32/include/ios
*/opt/intel/%%COMPILERDIR%%/ia32/include/iosfwd
*/opt/intel/%%COMPILERDIR%%/ia32/include/iostream
*/opt/intel/%%COMPILERDIR%%/ia32/include/iostream.h
*/opt/intel/%%COMPILERDIR%%/ia32/include/istream
*/opt/intel/%%COMPILERDIR%%/ia32/include/iterator
*/opt/intel/%%COMPILERDIR%%/ia32/include/limits
*/opt/intel/%%COMPILERDIR%%/ia32/include/list
*/opt/intel/%%COMPILERDIR%%/ia32/include/locale
*/opt/intel/%%COMPILERDIR%%/ia32/include/map
*/opt/intel/%%COMPILERDIR%%/ia32/include/memory
*/opt/intel/%%COMPILERDIR%%/ia32/include/numeric
*/opt/intel/%%COMPILERDIR%%/ia32/include/ostream
*/opt/intel/%%COMPILERDIR%%/ia32/include/queue
*/opt/intel/%%COMPILERDIR%%/ia32/include/set
*/opt/intel/%%COMPILERDIR%%/ia32/include/slist
*/opt/intel/%%COMPILERDIR%%/ia32/include/sstream
*/opt/intel/%%COMPILERDIR%%/ia32/include/stack
*/opt/intel/%%COMPILERDIR%%/ia32/include/stdexcept
*/opt/intel/%%COMPILERDIR%%/ia32/include/stdiostream.h
*/opt/intel/%%COMPILERDIR%%/ia32/include/stl.h
*/opt/intel/%%COMPILERDIR%%/ia32/include/stream.h
*/opt/intel/%%COMPILERDIR%%/ia32/include/streambuf
*/opt/intel/%%COMPILERDIR%%/ia32/include/string
*/opt/intel/%%COMPILERDIR%%/ia32/include/strstream
*/opt/intel/%%COMPILERDIR%%/ia32/include/strstream.h
*/opt/intel/%%COMPILERDIR%%/ia32/include/utility
*/opt/intel/%%COMPILERDIR%%/ia32/include/valarray
*/opt/intel/%%COMPILERDIR%%/ia32/include/vector
*/opt/intel/%%COMPILERDIR%%/ia32/include/xcomplex
*/opt/intel/%%COMPILERDIR%%/ia32/include/xdebug
*/opt/intel/%%COMPILERDIR%%/ia32/include/xhash
*/opt/intel/%%COMPILERDIR%%/ia32/include/xiosbase
*/opt/intel/%%COMPILERDIR%%/ia32/include/xlocale
*/opt/intel/%%COMPILERDIR%%/ia32/include/xlocinfo
*/opt/intel/%%COMPILERDIR%%/ia32/include/xlocinfo.h
*/opt/intel/%%COMPILERDIR%%/ia32/include/xlocmes
*/opt/intel/%%COMPILERDIR%%/ia32/include/xlocmon
*/opt/intel/%%COMPILERDIR%%/ia32/include/xlocnum
*/opt/intel/%%COMPILERDIR%%/ia32/include/xloctime
*/opt/intel/%%COMPILERDIR%%/ia32/include/xmemory
*/opt/intel/%%COMPILERDIR%%/ia32/include/xstring
*/opt/intel/%%COMPILERDIR%%/ia32/include/xtree
*/opt/intel/%%COMPILERDIR%%/ia32/include/xutility
*/opt/intel/%%COMPILERDIR%%/ia32/include/ymath.h
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libcprts.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libcprts.so.3
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libguide.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libguide_stats.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libunwind.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libunwind.so.3
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libimf.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libintrins.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libintrins.so.3
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libCEPCF90.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libCEPCF90.so.3
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libF90.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libF90.so.3
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libIEPCF90.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libIEPCF90.so.3
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libPEPCF90.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libPEPCF90.so.3
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libPOSF90.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libPOSF90.so.3
*/opt/intel/%%COMPILERDIR%%/man/man1/efc.1

View File

@ -0,0 +1,15 @@
*/opt/intel/%%COMPILERDIR%%/docs/FortranReleaseNotes.htm
*/opt/intel/%%COMPILERDIR%%/docs/asm_lan.pdf
*/opt/intel/%%COMPILERDIR%%/docs/asm_ug*
*/opt/intel/%%COMPILERDIR%%/docs/asm_ug.pdf
*/opt/intel/%%COMPILERDIR%%/docs/f_ug*
*/opt/intel/%%COMPILERDIR%%/docs/for_ug_lnx.pdf
*/opt/intel/%%COMPILERDIR%%/docs/for_lib.pdf
*/opt/intel/%%COMPILERDIR%%/docs/for_prg.pdf
*/opt/intel/%%COMPILERDIR%%/docs/fcompindex.htm
*/opt/intel/%%COMPILERDIR%%/docs/fredist.txt
*/opt/intel/%%COMPILERDIR%%/docs/flex_ug.pdf
*/opt/intel/%%COMPILERDIR%%/docs/icid.htm
*/opt/intel/%%COMPILERDIR%%/docs/notes*
*/opt/intel/%%COMPILERDIR%%/docs/ref*
*/opt/intel/%%COMPILERDIR%%/training*

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc/files/cxa_atexit.c,v 1.1 2002-11-18 09:27:32 maho Exp $
* $FreeBSD: /tmp/pcvs/ports/lang/ifc/files/cxa_atexit.c,v 1.2 2003-04-28 22:17:47 maho Exp $
*/
#include <stdlib.h>

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc/files/Attic/cxa_finalize.c,v 1.1 2002-11-18 09:27:32 maho Exp $
* $FreeBSD: /tmp/pcvs/ports/lang/ifc/files/Attic/cxa_finalize.c,v 1.2 2003-04-28 22:17:47 maho Exp $
*/
void

View File

@ -25,7 +25,7 @@
*
* copied over from: FreeBSD: ports/lang/compaq-cc/files/errno_location.c,v 1.1 2000/12/08 13:27:29 obrien Exp
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc/files/errno_location.c,v 1.1 2002-11-18 09:27:32 maho Exp $
* $FreeBSD: /tmp/pcvs/ports/lang/ifc/files/errno_location.c,v 1.2 2003-04-28 22:17:47 maho Exp $
*/
#include <errno.h>

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2002 Marius Strobl
* Copyright (c) 2002-2003 Marius Strobl
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -28,7 +28,7 @@
* Based on a shell-script written by Dan Nelson <dnelson@allantgroup.com>
* with some modifications by Alexander Leidinger <netchild@FreeBSD.org>.
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc/files/ld.c,v 1.1 2002-11-18 09:27:32 maho Exp $
* $FreeBSD: /tmp/pcvs/ports/lang/ifc/files/ld.c,v 1.2 2003-04-28 22:17:47 maho Exp $
*/
/* Uses code marked: */
@ -144,6 +144,7 @@ main(int argc, char *argv[], char *envp[])
{
size_t i;
int bootstrap, cpp, dynamic, pic, gprof, stlinserted, threaded;
int f90 = 0;
char *libc, *libc_r, *prefix;
struct arglist al;
@ -185,6 +186,11 @@ main(int argc, char *argv[], char *envp[])
continue;
}
if (ARGCMP("-MT")) {
threaded++;
continue;
}
if (ARGCMP("-PIC")) {
pic++;
continue;
@ -215,24 +221,13 @@ main(int argc, char *argv[], char *envp[])
* If IFC, do not use libstlport_icc.
*/
if (!strcmp(argv[i], "-lF90")) {
stlinserted++;
f90++;
continue;
}
/*
* ICC links the thread safe libircmt instead of libirc when
* told to generate threaded code by any of the compiler flags
* "-mt", "-openmp" or "-parallel". We use this as an indicator
* to link against libc_r.
*/
if (ARGCMP("-lircmt")) {
threaded++;
continue;
}
/*
* Link against libc_p when "-pg" was given, "/usr/lib/gcrt1.o"
* indicates this.
* Link against libc_p when "-qp" or "-p" were given,
* "/usr/lib/gcrt1.o" indicates this.
*/
if (ARGCMP("/usr/lib/gcrt1.o")) {
gprof++;
@ -274,7 +269,7 @@ main(int argc, char *argv[], char *envp[])
for (i = 0; i < argc; i++) {
if (ARGCMP("-CPLUSPLUS") || ARGCMP("-BOOTSTRAPSTLPORT") ||
ARGCMP("-PIC"))
ARGCMP("-MT") || ARGCMP("-PIC"))
continue;
/* prepend "-melf_i386" to the commandline */
@ -288,21 +283,12 @@ main(int argc, char *argv[], char *envp[])
continue;
}
/*
* "-u ___pseudo_link" triggers linking of additional objects
* from libcxa which seem to bloat the binaries, i.e. they
* perfectly work without it. Intel Support promised to look
* up what this servers for...
*/
if (ARGCMP("-u") || ARGCMP("___pseudo_link"))
continue;
/* Don't add obsolete flag "-Qy". */
if (ARGCMP("-Qy"))
continue;
/* Libunwind is only needed when compiling C++ source. */
if (!cpp && ARGCMP("-lunwind"))
if (!cpp && !f90 && ARGCMP("-lunwind"))
continue;
/*
@ -330,10 +316,11 @@ main(int argc, char *argv[], char *envp[])
strncmp(al.argv[al.argc - 1], "-B", strlen("-B")))
addarg(&al,
dynamic ? "-Bdynamic" : "-Bstatic", 1);
if (cpp || threaded) {
#if __FreeBSD_version < 500016
if (cpp || f90 || threaded) {
addarg(&al, libc_r, 0);
#else
if (cpp || threaded) {
addarg(&al, libc, 0);
addarg(&al,
dynamic ? "-Bdynamic" : "-Bstatic", 1);
@ -367,16 +354,6 @@ main(int argc, char *argv[], char *envp[])
continue;
}
/*
* Link and map files for C++ exception handling.
*/
if (!cpp &&
(ARGCMP("--version-script") ||
ARGCMPB(prefix, "/intel/compiler60/ia32/lib/icrt.link") ||
ARGCMPB(prefix,
"/intel/compiler60/ia32/lib/icrt.internal.map")))
continue;
/*
* Force libcxa and libunwind to static linkage, since the
* dynamic versions have glibc dependencies.
@ -384,7 +361,7 @@ main(int argc, char *argv[], char *envp[])
*/
if (ARGCMP("-Bdynamic") && i < argc - 1) {
if (!strcmp(argv[i + 1], "-lcxa") ||
(cpp && !strcmp(argv[i + 1], "-lunwind"))) {
((cpp || f90) && !strcmp(argv[i + 1], "-lunwind"))) {
addarg(&al, "-Bstatic", 1);
continue;
}
@ -397,7 +374,7 @@ main(int argc, char *argv[], char *envp[])
/* Don't add superfluous -Bstatic. */
if (ARGCMP("-Bstatic") && i < argc - 1 &&
(!strcmp(argv[i + 1], "-lcprts") ||
(!cpp && !strcmp(argv[i + 1], "-lunwind"))))
(!cpp && !f90 && !strcmp(argv[i + 1], "-lunwind"))))
continue;
/*

View File

@ -26,39 +26,12 @@
* $FreeBSD$
*/
short unsigned int *__ctype_b /* 0x0 */;
#include <fcntl.h>
#include <stdarg.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
typedef long long int __off64_t;
int open64(const char *path, int flags, ...) {
int mode;
va_list args;
va_start (args, flags);
return open(path, flags, va_arg(args, int));
va_end (args);
}
int creat64(const char *path, unsigned int mode) {
return open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);
}
__off64_t lseek64 (int __fd, __off64_t __offset, int __whence) {
return (__off64_t) lseek(__fd, (off_t) __offset, __whence);
}
int ftruncate64 (int __fd, __off64_t __length) {
return ftruncate(__fd, (off_t) __length);
}
static short unsigned int ctype_b[256] = { 0 };
short unsigned int *__ctype_b = ctype_b;
/* This matches struct stat64 in glibc2.1, hence the absolutely
* insane amounts of padding around dev_t's.
@ -155,9 +128,11 @@ void __lxstat64() {
fprintf(stderr, __FILE__ ": __lxstat64() is dummy.\n");
};
int __xmknod (int vers /* 0x8 */, char *path /* 0xc */,
unsigned int mode /* 0x10 */,
long long unsigned int *dev /* 0x14 */)
typedef int32_t l_long;
typedef l_long l_off_t;
l_off_t Lseek(int fildes, l_off_t offset, int whence)
{
return mknod(path, mode, *dev);
};
return (l_off_t) lseek(fildes, (off_t) offset, whence);
}

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc/files/mcount.S,v 1.1 2002-11-18 09:27:32 maho Exp $
* $FreeBSD: /tmp/pcvs/ports/lang/ifc/files/mcount.S,v 1.2 2003-04-28 22:17:47 maho Exp $
*/
.text

61
lang/ifc/files/mmap.c Normal file
View File

@ -0,0 +1,61 @@
/*
* Copyright (c) 2003 The FreeBSD Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD$
*/
#include <sys/types.h>
#include <sys/mman.h>
typedef int32_t l_long;
typedef unsigned int l_uint;
typedef l_long l_off_t;
typedef l_uint l_size_t;
/* mmap options */
#define LINUX_MAP_SHARED 0x0001
#define LINUX_MAP_PRIVATE 0x0002
#define LINUX_MAP_FIXED 0x0010
#define LINUX_MAP_ANON 0x0020
#define LINUX_MAP_GROWSDOWN 0x0100
void *
Mmap(void *addr, l_size_t len, int prot, int flags, int fd, l_off_t offset)
{
int bsd_flags = 0;
if (flags & LINUX_MAP_SHARED ) bsd_flags |= MAP_SHARED;
if (flags & LINUX_MAP_PRIVATE) bsd_flags |= MAP_PRIVATE;
if (flags & LINUX_MAP_FIXED ) bsd_flags |= MAP_FIXED;
if (flags & LINUX_MAP_ANON ) bsd_flags |= MAP_ANON;
else bsd_flags |= MAP_NOSYNC;
if (flags & LINUX_MAP_GROWSDOWN) bsd_flags |= MAP_STACK;
prot |= PROT_READ; /* always required */
if (flags & LINUX_MAP_ANON)
fd = -1;
return mmap(addr, (size_t) len, prot, bsd_flags, fd, (off_t) offset);
}

View File

@ -0,0 +1,74 @@
--- ia32/bin/ifc.orig Sat Apr 5 20:48:18 2003
+++ ia32/bin/ifc Sat Apr 5 20:53:32 2003
@@ -1,34 +1,61 @@
#!/bin/sh
+PREFIX=@@PREFIX@@
+export PREFIX;
+
if [ -z INTEL_LICENSE_FILE ]
then
-INTEL_LICENSE_FILE=<INSTALLDIR>/licenses;
+INTEL_LICENSE_FILE=${PREFIX}/intel/licenses;
else
-INTEL_LICENSE_FILE=$INTEL_LICENSE_FILE:<INSTALLDIR>/licenses;
+INTEL_LICENSE_FILE=$INTEL_LICENSE_FILE:${PREFIX}/intel/licenses;
fi
export INTEL_LICENSE_FILE;
if [ -z LD_LIBRARY_PATH ]
then
- LD_LIBRARY_PATH=<INSTALLDIR>/compiler70/ia32/lib;
+ LD_LIBRARY_PATH=${PREFIX}/intel/compiler70/ia32/lib;
else
- LD_LIBRARY_PATH=<INSTALLDIR>/compiler70/ia32/lib:$LD_LIBRARY_PATH
+ LD_LIBRARY_PATH=${PREFIX}/intel/compiler70/ia32/lib:$LD_LIBRARY_PATH
fi
export LD_LIBRARY_PATH;
if [ -z PATH ]
then
- PATH=<INSTALLDIR>/compiler70/ia32/bin;
+ PATH=${PREFIX}/intel/compiler70/ia32/bin;
else
- PATH=<INSTALLDIR>/compiler70/ia32/bin:$PATH;
+ PATH=${PREFIX}/intel/compiler70/ia32/bin:$PATH;
fi
export PATH;
-export -n IA32ROOT; unset IA32ROOT;
-
if [ $# != 0 ]
then
- exec -a "<INSTALLDIR>/compiler70/ia32/bin/ifc" <INSTALLDIR>/compiler70/ia32/bin/ifcbin "$@";
+ i=0
+ argc=$#
+ while [ $i -lt $argc ] ; do
+ val1=$1
+ shift
+ val2=${val1#"-openmp"}
+ if [ ${#val1} -gt ${#val2} ] ; then
+ echo "Sorry, option '$val1' is not supported on FreeBSD."
+ exit 1
+ fi
+ val2=${val1#"-par"}
+ if [ ${#val1} -gt ${#val2} ] ; then
+ echo "Sorry, option '$val1' is not supported on FreeBSD."
+ exit 1
+ fi
+ if [ "${val1}" = "-Kpic" ] || [ "${val1}" = "-KPIC" ] || \
+ [ "${val1}" = "-fpic" ] || [ "${val1}" = "-fPIC" ] ; then
+ set -- "$@" "-Qoption,ld,-PIC"
+ fi
+ if [ "${val1}" = "-mt" ] ; then
+ unset val1
+ set -- "$@" "-Qoption,ld,-MT"
+ fi
+ set -- "$@" "$val1"
+ i=$(($i+1))
+ done
+ exec ${PREFIX}/intel/compiler70/ia32/bin/ifcbin "$@";
else
- exec -a "<INSTALLDIR>/compiler70/ia32/bin/ifc" <INSTALLDIR>/compiler70/ia32/bin/ifcbin;
+ exec ${PREFIX}/intel/compiler70/ia32/bin/ifcbin;
fi

View File

@ -1,42 +0,0 @@
--- opt/intel/compiler60/ia32/bin/ifc.orig Sun Sep 22 01:03:04 2002
+++ opt/intel/compiler60/ia32/bin/ifc Sun Sep 22 01:06:31 2002
@@ -1,29 +1,31 @@
#!/bin/sh
-INTEL_LICENSE_FILE=<INSTALLDIR>/licenses;
+PREFIX=/usr/local
+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;
+unset IA32ROOT;
if [ $# != 0 ]
then
- exec -a "<INSTALLDIR>/compiler60/ia32/bin/ifc" <INSTALLDIR>/compiler60/ia32/bin/ifcbin "$@";
+ exec ${PREFIX}/intel/compiler60/ia32/bin/ifcbin "$@";
else
- exec -a "<INSTALLDIR>/compiler60/ia32/bin/ifc" <INSTALLDIR>/compiler60/ia32/bin/ifcbin;
+ exec ${PREFIX}/intel/compiler60/ia32/bin/ifcbin;
fi

36
lang/ifc/files/pthread.c Normal file
View File

@ -0,0 +1,36 @@
/*
* Copyright (c) 2003 The FreeBSD Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD$
*/
void pthread_exit(void *value_ptr) __attribute__ ((weak));
void pthread_exit(void *value_ptr) {}
int pthread_equal(void) __attribute__ ((weak));
int pthread_equal(void)
{
return 1;
}

View File

@ -23,12 +23,10 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc/files/stderr.c,v 1.1 2002-11-18 09:27:32 maho Exp $
* $FreeBSD: /tmp/pcvs/ports/lang/ifc/files/stderr.c,v 1.2 2003-04-28 22:17:47 maho Exp $
*/
#include <stdio.h>
#undef stdout
#undef stderr
FILE *stdout = &__sF[1];
FILE *stderr = &__sF[2];

32
lang/ifc/files/stdin.c Normal file
View File

@ -0,0 +1,32 @@
/*
* Copyright (c) 2002 Marius Strobl
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc/files/stdin.c,v 1.1 2003-04-28 22:17:47 maho Exp $
*/
#include <stdio.h>
#undef stdin
FILE *stdin = &__sF[0];

32
lang/ifc/files/stdout.c Normal file
View File

@ -0,0 +1,32 @@
/*
* Copyright (c) 2002 Marius Strobl
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc/files/stdout.c,v 1.1 2003-04-28 22:17:47 maho Exp $
*/
#include <stdio.h>
#undef stdout
FILE *stdout = &__sF[1];

View File

@ -1,12 +1,3 @@
This is Intels Fortran compiler, it is set up to produce
native FreeBSD objects, supporting development of
performance-oriented applications for Pentium processors,
including the Pentium 4 processor.
This is Intels Fortran compiler, it is set up to produce native FreeBSD objects.
You can obtain 30-day Free Evaluation Software(Includes Support)
or, Non-Commercial Unsupported lisence.
Newer version of ifc can obtain at https://premier.intel.com/,
and another registration is required.
WWW: http://www.intel.com/software/products/compilers/f60l/
https://premier.intel.com/
WWW: http://www.intel.com/software/products/compilers/flin

File diff suppressed because it is too large Load Diff

View File

@ -6,11 +6,10 @@
#
PORTNAME= ifc
PORTVERSION= 6.0.1.304
PORTREVISION= 1
PORTVERSION= 7.1.015
CATEGORIES= lang linux devel
MASTER_SITES=
DISTNAME= l_fc_p_6.0.1.304
DISTNAME= l_fc_pu_${PORTVERSION}
EXTRACT_SUFX= .tar
MAINTAINER= maho@FreeBSD.org
@ -29,38 +28,46 @@ USE_REINPLACE= yes
NO_WRKSUBDIR= yes
NO_FILTER_SHLIBS= yes
MAN1= ifc.1
MANPREFIX= ${PREFIX}/intel/compiler60/
COMPILERDIR= compiler70
PLIST_SUB= COMPILERDIR=${COMPILERDIR}
PATCH_WRKSRC= ${WRKSRC}/opt/intel/${COMPILERDIR}
MAN1= ifc.1
MANPREFIX= ${PREFIX}/intel/${COMPILERDIR}/
IFC_SITE= http://www.intel.com/software/products/compilers/
.include <bsd.port.pre.mk>
IFCFFGVAL= ${OSREL:C/\..*//}
IFCCFGVAL!= ${UNAME} -r | ${SED} -e 's/\..*//'
CPIO?= /usr/bin/cpio
OBJCOPY?= /usr/bin/objcopy
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE= "Please manually download ${DISTFILES} from ${IFC_SITE}, ${IFC_SITE}f60l/noncom.htm or https://premier.intel.com/ \(whichever has the file, to access premier.intel.com you have to register at http://www.intel.com/software/products/registrationcenter/index.htm\). With a little bit of luck it may also be available from ftp://download.intel.com/software/products/compilers/downloads/. Put it into ${DISTDIR} and run make again"
IGNORE= "Please manually download ${DISTFILES} from ${IFC_SITE}, ${IFC_SITE}flin/noncom.htm or https://premier.intel.com/ \(whichever has the file, to access premier.intel.com you have to register at http://www.intel.com/software/products/registrationcenter/index.htm\). With a little bit of luck it may also be available from ftp://download.intel.com/software/products/compilers/downloads/. Put it into ${DISTDIR} and run make again"
.endif
.if exists(${PREFIX}/intel/compiler60/bin/icc)
BROKEN= Cannot coexist with icc
.if exists(${LINUXBASE}/boot/kernel.h) #|| \
# exists(${PREFIX}/intel/compiler60/bin/icc) || \
# exists(${PREFIX}/intel/compiler70/bin/icc)
BROKEN= Cannot coexist with linux_devtools or icc
.endif
post-extract:
.for i in \
intel-ifc6-6.0.1-304.i386.rpm
# intel-ildb6-6.0.1-310.i386.rpm \
# intel-efc6-6.0.1-304.ia64.rpm \
# intel-eldb6-6.0.1-310.ia64.rpm
@${SED} 's:%%COMPILERDIR%%:${COMPILERDIR}:' ${FILESDIR}/cpio-exclude \
>${WRKDIR}/cpio-exclude
.if defined(NOPORTDOCS)
@cd ${WRKSRC} && rpm2cpio 2>/dev/null ${i} | \
cpio -idfuE ${FILESDIR}/cpio-exclude --quiet \
*/opt/intel/compiler60/docs/*
.else
@cd ${WRKSRC} && rpm2cpio 2>/dev/null ${i} | \
cpio -idfuE ${FILESDIR}/cpio-exclude --quiet
@${SED} 's:%%COMPILERDIR%%:${COMPILERDIR}:' \
${FILESDIR}/cpio-exclude_noportdocs >>${WRKDIR}/cpio-exclude
.endif
.for i in \
intel-ifc7-7.1-13.i386.rpm
# intel-iidb7-7.1-24.i386.rpm \
# intel-efc7-7.1-13.ia64.rpm \
# intel-eidb7-7.1-24.ia64.rpm
@cd ${WRKSRC} ; rpm2cpio 2>/dev/null ${i} | \
${CPIO} -idfuE ${WRKDIR}/cpio-exclude --quiet
.endfor
pre-patch:
@ -68,81 +75,100 @@ pre-patch:
@${CHMOD} a+rx ${WRKSRC}/opt
# Remove unneeded/unsafe access rights
.for i in docs ia32/include ia32/lib
@${FIND} ${WRKSRC}/opt/intel/compiler60/${i} -type f -print0 | \
${XARGS} -0 ${CHMOD} a-x,g-w
@${FIND} ${WRKSRC}/opt/intel/${COMPILERDIR}/${i} -type f -print0 | \
xargs -0 ${CHMOD} a-x,g-w
.endfor
@${FIND} ${WRKSRC}/opt -type d -print0 | xargs -0 ${CHMOD} go-w
# Use the Linux ABI for the binaries
.for i in INTEL f90com fpp icid ifcbin ifccem lmgrd.intel lmutil \
profmerge proforder xiar xild
@brandelf -t Linux ${WRKSRC}/opt/intel/compiler60/ia32/bin/${i}
.for i in ifcbin fpp icid f90com profmerge proforder xiar xild
@brandelf -t Linux ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
.endfor
post-patch:
# Correct some paths and patch some files
.for i in ia32/bin/ifcvars.csh ia32/bin/ifcvars.sh \
ia32/bin/ifc ia32/bin/ifc.cfg docs/fsupport
@${REINPLACE_CMD} -i "" -e 's:@@PREFIX@@:${PREFIX}:g; s@\<INSTALLDIR\>@${PREFIX}/intel@g; s@man -w@manpath -q@g; s:\<INSTALLTIMECOMBOPACKAGEID\>:${DISTNAME}:g' \
${WRKSRC}/opt/intel/compiler60/${i}
@${CHMOD} 755 ${WRKSRC}/opt/intel/compiler60/${i}
.for i in ia32/bin/ifc ia32/bin/ifcvars.csh ia32/bin/ifcvars.sh
@${REINPLACE_CMD} -i "" -e 's:@@PREFIX@@:${PREFIX}:g; s@\<INSTALLDIR\>@${PREFIX}/intel@g; s@man -w@manpath -q@g' \
${WRKSRC}/opt/intel/${COMPILERDIR}/${i}
@${CHMOD} 755 ${WRKSRC}/opt/intel/${COMPILERDIR}/${i}
.endfor
@${REINPLACE_CMD} -i "" -e 's:\<INSTALLTIMECOMBOPACKAGEID\>:${DISTNAME}:g' \
${WRKSRC}/opt/intel/${COMPILERDIR}/docs/fsupport
.for i in ifc.orig
@${RM} ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
.endfor
@${RM} ${WRKSRC}/opt/intel/compiler60/ia32/bin/ifc.orig
# Remove empty directory
.if defined(NOPORTDOCS)
@${RM} -rf ${WRKSRC}/opt/intel/compiler60/docs
.endif
# Provide a more FreeBSD'ish compile environment
.for i in ifc.cfg
@${ECHO} -e "\n-Ulinux\n-U__linux__\n-U__linux\n\n-D__FreeBSD__=${IFCFFGVAL}\n-D__ELF__=1\n" >>${WRKSRC}/opt/intel/compiler60/ia32/bin/${i}
@${CHMOD} a-x,g-w ${WRKSRC}/opt/intel/compiler60/ia32/bin/${i}
@${REINPLACE_CMD} -i "" -e 's:-Xlinker -rpath -Xlinker <INSTALLDIR>/${COMPILERDIR}/ia32/lib::g' \
-e 's@\<INSTALLDIR\>@${PREFIX}/intel@g;' \
${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
@${ECHO} -e "-Qlocation,ld,${PREFIX}/intel/${COMPILERDIR}/ia32/bin/ldwrapper\n\n-Ulinux\n-U__linux__\n-U__linux\n-U__gnu_linux__\n\n-D__FreeBSD__=${IFCCFGVAL}\n-D__ELF__=1\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
@${CHMOD} a-x,g-w ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
.endfor
# C++ hack for ifc
@${ECHO} -e "\n-Qoption,ld,-CPLUSPLUS\n" >>${WRKSRC}/opt/intel/compiler60/ia32/bin/ifc.cfg
@cd ${WRKSRC}/opt/intel/compiler60/ia32/bin/ && ${LN} -s ifc.cfg ifcbin.cfg
@cd ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ && ${LN} -s ifc.cfg ifcbin.cfg
do-build:
# Fix unresolved references
@cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/assert_fail.c \
${FILESDIR}/cxa_atexit.c ${FILESDIR}/cxa_finalize.c \
${FILESDIR}/linux_file.c ${FILESDIR}/sysconf.c \
${FILESDIR}/mmap.c ${FILESDIR}/pthread.c \
${FILESDIR}/errno_location.c ${FILESDIR}/mcount.S
.if ( ${OSVERSION} < 470000 ) || \
.if ( ${OSVERSION} < 470101 ) || \
( ${OSVERSION} >= 500000 && ${OSVERSION} < 500042 )
@${CC} ${CFLAGS} -c -o ${WRKSRC}/stdin.o ${FILESDIR}/stdin.c
@${CC} ${CFLAGS} -c -o ${WRKSRC}/stdout.o ${FILESDIR}/stdout.c
@${CC} ${CFLAGS} -c -o ${WRKSRC}/stderr.o ${FILESDIR}/stderr.c
.else
.for i in libcxa.a libimf.a libirc.a libircmt.a libunwind.a \
libBINDF90.a libCEPCF90.a libF90.a libIEPCF90.a libPEPCF90.a \
libcprts.a libintrins.a libompstub.a
@${OBJCOPY} --redefine-sym stderr=__stderrp \
--redefine-sym stdout=__stdoutp \
${WRKSRC}/opt/intel/compiler60/ia32/lib/${i}
@${OBJCOPY} --redefine-sym stdin=__stdinp \
--redefine-sym stdout=__stdoutp \
--redefine-sym stderr=__stderrp \
${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/lib/${i}
.endfor
.endif
@${AR} q ${WRKSRC}/opt/intel/compiler60/ia32/lib/libcxa.a ${WRKSRC}/*.o
@(cd ${WRKSRC}; ${AR} x /usr/lib/libcompat.a ftime.o)
@${AR} q ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/lib/libcxa.a ${WRKSRC}/*.o
.for i in BINDF90 PEPCF90 CEPCF90 POSF90 IEPCF90
@${OBJCOPY} --redefine-sym stat=Stat --redefine-sym fstat=Fstat \
--redefine-sym lstat=Lstat --redefine-sym lseek=Lseek \
--redefine-sym mknod=Mknod \
${WRKSRC}/opt/intel/compiler60/ia32/lib/lib${i}.a
@${OBJCOPY} --strip-symbol=stat \
--strip-symbol=fstat \
--strip-symbol=lstat \
--redefine-sym lseek=Lseek \
--redefine-sym lseek64=lseek \
--redefine-sym open64=open \
--redefine-sym creat64=creat \
--redefine-sym ftruncate64=ftruncate \
--redefine-sym mmap=Mmap \
${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/lib/lib${i}.a
.endfor
# Some magic to be able to link
@${CC} ${CFLAGS} -o ${WRKSRC}/opt/intel/compiler60/ia32/bin/ld ${FILESDIR}/ld.c
@${STRIP_CMD} ${WRKSRC}/opt/intel/compiler60/ia32/bin/ld
@${CHMOD} 755 ${WRKSRC}/opt/intel/compiler60/ia32/bin/ld
@${MKDIR} ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper
@${CC} ${CFLAGS} -o \
${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld \
${FILESDIR}/ld.c
@${STRIP_CMD} ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld
@${CHMOD} 755 ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld
do-install:
@cd ${WRKSRC}/opt && ${TAR} -cf - . | \
${TAR} -xf - -C ${PREFIX}
@cd ${WRKSRC}/opt && ${FIND} . -print | \
${CPIO} -pdu -R ${BINOWN}:${BINGRP} --quiet ${PREFIX}
post-install:
@${ECHO_CMD} "${PKGNAME} is now installed in ${PREFIX}/intel, to use it you have to"
@${ECHO_CMD} "put your license into your \$${INTEL_FLEXLM_LICENSE} (default:"
@${ECHO_CMD} "${PREFIX}/intel/licenses) directory and add"
@${ECHO_CMD} "${PREFIX}/intel/compiler60/ia32/bin to your PATH."
@${ECHO_CMD} "${PREFIX}/intel/${COMPILERDIR}/ia32/bin to your PATH."
@${ECHO_CMD}
@${ECHO_CMD} "If you use ifc on a Pentium 4 make sure you have 'options CPU_ENABLE_SSE'"
@${ECHO_CMD} "in your kernel config (have a look at http://www.FreeBSD.org/handbook/"
@${ECHO_CMD} "if you do not know how to do this), else ifc will hang forever."
@${ECHO_CMD}
@${ECHO_CMD} "WARNING: If you use ifc while having linux_devtools installed, ifc will use"
@${ECHO_CMD} "the wrong includes and therefore will generate bogus (not working) binaries!"
@${ECHO_CMD}
@${ECHO_CMD} "If you encounter further problems with ifc please consult the errata at"
@${ECHO_CMD} "http://support.intel.com/support/performancetools/fortran/Fortran_Compiler_Errata.htm"
@${ECHO_CMD} "first."
.include <bsd.port.post.mk>

View File

@ -1 +1 @@
MD5 (l_fc_p_6.0.1.304.tar) = 6805df05f10ddea69080bf8d3c8d86de
MD5 (l_fc_pu_7.1.015.tar) = e910735f412951a4812231b8d4320eb0

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc7/files/Attic/assert_fail.c,v 1.1 2002-11-18 09:27:32 maho Exp $
* $FreeBSD: /tmp/pcvs/ports/lang/ifc7/files/Attic/assert_fail.c,v 1.2 2003-04-28 22:17:47 maho Exp $
*/
#include <err.h>

View File

@ -1,70 +1,77 @@
*/opt/intel/compiler60/ia32/bin/uninstall
*/opt/intel/compiler60/ia32/include/algorithm
*/opt/intel/compiler60/ia32/include/bitset
*/opt/intel/compiler60/ia32/include/complex
*/opt/intel/compiler60/ia32/include/deque
*/opt/intel/compiler60/ia32/include/fstream
*/opt/intel/compiler60/ia32/include/fstream.h
*/opt/intel/compiler60/ia32/include/functional
*/opt/intel/compiler60/ia32/include/hash_map
*/opt/intel/compiler60/ia32/include/hash_set
*/opt/intel/compiler60/ia32/include/iomanip
*/opt/intel/compiler60/ia32/include/iomanip.h
*/opt/intel/compiler60/ia32/include/ios
*/opt/intel/compiler60/ia32/include/iosfwd
*/opt/intel/compiler60/ia32/include/iostream
*/opt/intel/compiler60/ia32/include/iostream.h
*/opt/intel/compiler60/ia32/include/istream
*/opt/intel/compiler60/ia32/include/iterator
*/opt/intel/compiler60/ia32/include/limits
*/opt/intel/compiler60/ia32/include/list
*/opt/intel/compiler60/ia32/include/locale
*/opt/intel/compiler60/ia32/include/map
*/opt/intel/compiler60/ia32/include/memory
*/opt/intel/compiler60/ia32/include/numeric
*/opt/intel/compiler60/ia32/include/ostream
*/opt/intel/compiler60/ia32/include/queue
*/opt/intel/compiler60/ia32/include/set
*/opt/intel/compiler60/ia32/include/slist
*/opt/intel/compiler60/ia32/include/sstream
*/opt/intel/compiler60/ia32/include/stack
*/opt/intel/compiler60/ia32/include/stdexcept
*/opt/intel/compiler60/ia32/include/stdiostream.h
*/opt/intel/compiler60/ia32/include/stl.h
*/opt/intel/compiler60/ia32/include/stream.h
*/opt/intel/compiler60/ia32/include/streambuf
*/opt/intel/compiler60/ia32/include/string
*/opt/intel/compiler60/ia32/include/strstream
*/opt/intel/compiler60/ia32/include/strstream.h
*/opt/intel/compiler60/ia32/include/utility
*/opt/intel/compiler60/ia32/include/valarray
*/opt/intel/compiler60/ia32/include/vector
*/opt/intel/compiler60/ia32/include/xcomplex
*/opt/intel/compiler60/ia32/include/xdebug
*/opt/intel/compiler60/ia32/include/xhash
*/opt/intel/compiler60/ia32/include/xiosbase
*/opt/intel/compiler60/ia32/include/xlocale
*/opt/intel/compiler60/ia32/include/xlocinfo
*/opt/intel/compiler60/ia32/include/xlocinfo.h
*/opt/intel/compiler60/ia32/include/xlocmes
*/opt/intel/compiler60/ia32/include/xlocmon
*/opt/intel/compiler60/ia32/include/xlocnum
*/opt/intel/compiler60/ia32/include/xloctime
*/opt/intel/compiler60/ia32/include/xmemory
*/opt/intel/compiler60/ia32/include/xstring
*/opt/intel/compiler60/ia32/include/xtree
*/opt/intel/compiler60/ia32/include/xutility
*/opt/intel/compiler60/ia32/include/ymath.h
*/opt/intel/compiler60/ia32/lib/libcprts.so
*/opt/intel/compiler60/ia32/lib/libcprts.so.1
*/opt/intel/compiler60/ia32/lib/libguide.a
*/opt/intel/compiler60/ia32/lib/libguide.so
*/opt/intel/compiler60/ia32/lib/libunwind.so
*/opt/intel/compiler60/ia32/lib/libunwind.so.1
*/opt/intel/compiler60/ia32/lib/libimf.so
*/opt/intel/compiler60/ia32/lib/libintrins.so
*/opt/intel/compiler60/ia32/lib/libCEPCF90.so
*/opt/intel/compiler60/ia32/lib/libF90.so
*/opt/intel/compiler60/ia32/lib/libIEPCF90.so
*/opt/intel/compiler60/ia32/lib/libPEPCF90.so
*/opt/intel/compiler60/ia32/lib/libPOSF90.so
*/opt/intel/%%COMPILERDIR%%/ia32/bin/uninstall
*/opt/intel/%%COMPILERDIR%%/ia32/include/algorithm
*/opt/intel/%%COMPILERDIR%%/ia32/include/bitset
*/opt/intel/%%COMPILERDIR%%/ia32/include/complex
*/opt/intel/%%COMPILERDIR%%/ia32/include/deque
*/opt/intel/%%COMPILERDIR%%/ia32/include/fstream
*/opt/intel/%%COMPILERDIR%%/ia32/include/fstream.h
*/opt/intel/%%COMPILERDIR%%/ia32/include/functional
*/opt/intel/%%COMPILERDIR%%/ia32/include/hash_map
*/opt/intel/%%COMPILERDIR%%/ia32/include/hash_set
*/opt/intel/%%COMPILERDIR%%/ia32/include/iomanip
*/opt/intel/%%COMPILERDIR%%/ia32/include/iomanip.h
*/opt/intel/%%COMPILERDIR%%/ia32/include/ios
*/opt/intel/%%COMPILERDIR%%/ia32/include/iosfwd
*/opt/intel/%%COMPILERDIR%%/ia32/include/iostream
*/opt/intel/%%COMPILERDIR%%/ia32/include/iostream.h
*/opt/intel/%%COMPILERDIR%%/ia32/include/istream
*/opt/intel/%%COMPILERDIR%%/ia32/include/iterator
*/opt/intel/%%COMPILERDIR%%/ia32/include/limits
*/opt/intel/%%COMPILERDIR%%/ia32/include/list
*/opt/intel/%%COMPILERDIR%%/ia32/include/locale
*/opt/intel/%%COMPILERDIR%%/ia32/include/map
*/opt/intel/%%COMPILERDIR%%/ia32/include/memory
*/opt/intel/%%COMPILERDIR%%/ia32/include/numeric
*/opt/intel/%%COMPILERDIR%%/ia32/include/ostream
*/opt/intel/%%COMPILERDIR%%/ia32/include/queue
*/opt/intel/%%COMPILERDIR%%/ia32/include/set
*/opt/intel/%%COMPILERDIR%%/ia32/include/slist
*/opt/intel/%%COMPILERDIR%%/ia32/include/sstream
*/opt/intel/%%COMPILERDIR%%/ia32/include/stack
*/opt/intel/%%COMPILERDIR%%/ia32/include/stdexcept
*/opt/intel/%%COMPILERDIR%%/ia32/include/stdiostream.h
*/opt/intel/%%COMPILERDIR%%/ia32/include/stl.h
*/opt/intel/%%COMPILERDIR%%/ia32/include/stream.h
*/opt/intel/%%COMPILERDIR%%/ia32/include/streambuf
*/opt/intel/%%COMPILERDIR%%/ia32/include/string
*/opt/intel/%%COMPILERDIR%%/ia32/include/strstream
*/opt/intel/%%COMPILERDIR%%/ia32/include/strstream.h
*/opt/intel/%%COMPILERDIR%%/ia32/include/utility
*/opt/intel/%%COMPILERDIR%%/ia32/include/valarray
*/opt/intel/%%COMPILERDIR%%/ia32/include/vector
*/opt/intel/%%COMPILERDIR%%/ia32/include/xcomplex
*/opt/intel/%%COMPILERDIR%%/ia32/include/xdebug
*/opt/intel/%%COMPILERDIR%%/ia32/include/xhash
*/opt/intel/%%COMPILERDIR%%/ia32/include/xiosbase
*/opt/intel/%%COMPILERDIR%%/ia32/include/xlocale
*/opt/intel/%%COMPILERDIR%%/ia32/include/xlocinfo
*/opt/intel/%%COMPILERDIR%%/ia32/include/xlocinfo.h
*/opt/intel/%%COMPILERDIR%%/ia32/include/xlocmes
*/opt/intel/%%COMPILERDIR%%/ia32/include/xlocmon
*/opt/intel/%%COMPILERDIR%%/ia32/include/xlocnum
*/opt/intel/%%COMPILERDIR%%/ia32/include/xloctime
*/opt/intel/%%COMPILERDIR%%/ia32/include/xmemory
*/opt/intel/%%COMPILERDIR%%/ia32/include/xstring
*/opt/intel/%%COMPILERDIR%%/ia32/include/xtree
*/opt/intel/%%COMPILERDIR%%/ia32/include/xutility
*/opt/intel/%%COMPILERDIR%%/ia32/include/ymath.h
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libcprts.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libcprts.so.3
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libguide.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libguide_stats.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libunwind.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libunwind.so.3
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libimf.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libintrins.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libintrins.so.3
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libCEPCF90.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libCEPCF90.so.3
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libF90.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libF90.so.3
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libIEPCF90.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libIEPCF90.so.3
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libPEPCF90.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libPEPCF90.so.3
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libPOSF90.so
*/opt/intel/%%COMPILERDIR%%/ia32/lib/libPOSF90.so.3
*/opt/intel/%%COMPILERDIR%%/man/man1/efc.1

View File

@ -0,0 +1,15 @@
*/opt/intel/%%COMPILERDIR%%/docs/FortranReleaseNotes.htm
*/opt/intel/%%COMPILERDIR%%/docs/asm_lan.pdf
*/opt/intel/%%COMPILERDIR%%/docs/asm_ug*
*/opt/intel/%%COMPILERDIR%%/docs/asm_ug.pdf
*/opt/intel/%%COMPILERDIR%%/docs/f_ug*
*/opt/intel/%%COMPILERDIR%%/docs/for_ug_lnx.pdf
*/opt/intel/%%COMPILERDIR%%/docs/for_lib.pdf
*/opt/intel/%%COMPILERDIR%%/docs/for_prg.pdf
*/opt/intel/%%COMPILERDIR%%/docs/fcompindex.htm
*/opt/intel/%%COMPILERDIR%%/docs/fredist.txt
*/opt/intel/%%COMPILERDIR%%/docs/flex_ug.pdf
*/opt/intel/%%COMPILERDIR%%/docs/icid.htm
*/opt/intel/%%COMPILERDIR%%/docs/notes*
*/opt/intel/%%COMPILERDIR%%/docs/ref*
*/opt/intel/%%COMPILERDIR%%/training*

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc7/files/Attic/cxa_finalize.c,v 1.1 2002-11-18 09:27:32 maho Exp $
* $FreeBSD: /tmp/pcvs/ports/lang/ifc7/files/Attic/cxa_finalize.c,v 1.2 2003-04-28 22:17:47 maho Exp $
*/
void

View File

@ -25,7 +25,7 @@
*
* copied over from: FreeBSD: ports/lang/compaq-cc/files/errno_location.c,v 1.1 2000/12/08 13:27:29 obrien Exp
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc7/files/Attic/errno_location.c,v 1.1 2002-11-18 09:27:32 maho Exp $
* $FreeBSD: /tmp/pcvs/ports/lang/ifc7/files/Attic/errno_location.c,v 1.2 2003-04-28 22:17:47 maho Exp $
*/
#include <errno.h>

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2002 Marius Strobl
* Copyright (c) 2002-2003 Marius Strobl
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -28,7 +28,7 @@
* Based on a shell-script written by Dan Nelson <dnelson@allantgroup.com>
* with some modifications by Alexander Leidinger <netchild@FreeBSD.org>.
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc7/files/Attic/ld.c,v 1.1 2002-11-18 09:27:32 maho Exp $
* $FreeBSD: /tmp/pcvs/ports/lang/ifc7/files/Attic/ld.c,v 1.2 2003-04-28 22:17:47 maho Exp $
*/
/* Uses code marked: */
@ -144,6 +144,7 @@ main(int argc, char *argv[], char *envp[])
{
size_t i;
int bootstrap, cpp, dynamic, pic, gprof, stlinserted, threaded;
int f90 = 0;
char *libc, *libc_r, *prefix;
struct arglist al;
@ -185,6 +186,11 @@ main(int argc, char *argv[], char *envp[])
continue;
}
if (ARGCMP("-MT")) {
threaded++;
continue;
}
if (ARGCMP("-PIC")) {
pic++;
continue;
@ -215,24 +221,13 @@ main(int argc, char *argv[], char *envp[])
* If IFC, do not use libstlport_icc.
*/
if (!strcmp(argv[i], "-lF90")) {
stlinserted++;
f90++;
continue;
}
/*
* ICC links the thread safe libircmt instead of libirc when
* told to generate threaded code by any of the compiler flags
* "-mt", "-openmp" or "-parallel". We use this as an indicator
* to link against libc_r.
*/
if (ARGCMP("-lircmt")) {
threaded++;
continue;
}
/*
* Link against libc_p when "-pg" was given, "/usr/lib/gcrt1.o"
* indicates this.
* Link against libc_p when "-qp" or "-p" were given,
* "/usr/lib/gcrt1.o" indicates this.
*/
if (ARGCMP("/usr/lib/gcrt1.o")) {
gprof++;
@ -274,7 +269,7 @@ main(int argc, char *argv[], char *envp[])
for (i = 0; i < argc; i++) {
if (ARGCMP("-CPLUSPLUS") || ARGCMP("-BOOTSTRAPSTLPORT") ||
ARGCMP("-PIC"))
ARGCMP("-MT") || ARGCMP("-PIC"))
continue;
/* prepend "-melf_i386" to the commandline */
@ -288,21 +283,12 @@ main(int argc, char *argv[], char *envp[])
continue;
}
/*
* "-u ___pseudo_link" triggers linking of additional objects
* from libcxa which seem to bloat the binaries, i.e. they
* perfectly work without it. Intel Support promised to look
* up what this servers for...
*/
if (ARGCMP("-u") || ARGCMP("___pseudo_link"))
continue;
/* Don't add obsolete flag "-Qy". */
if (ARGCMP("-Qy"))
continue;
/* Libunwind is only needed when compiling C++ source. */
if (!cpp && ARGCMP("-lunwind"))
if (!cpp && !f90 && ARGCMP("-lunwind"))
continue;
/*
@ -330,10 +316,11 @@ main(int argc, char *argv[], char *envp[])
strncmp(al.argv[al.argc - 1], "-B", strlen("-B")))
addarg(&al,
dynamic ? "-Bdynamic" : "-Bstatic", 1);
if (cpp || threaded) {
#if __FreeBSD_version < 500016
if (cpp || f90 || threaded) {
addarg(&al, libc_r, 0);
#else
if (cpp || threaded) {
addarg(&al, libc, 0);
addarg(&al,
dynamic ? "-Bdynamic" : "-Bstatic", 1);
@ -367,16 +354,6 @@ main(int argc, char *argv[], char *envp[])
continue;
}
/*
* Link and map files for C++ exception handling.
*/
if (!cpp &&
(ARGCMP("--version-script") ||
ARGCMPB(prefix, "/intel/compiler60/ia32/lib/icrt.link") ||
ARGCMPB(prefix,
"/intel/compiler60/ia32/lib/icrt.internal.map")))
continue;
/*
* Force libcxa and libunwind to static linkage, since the
* dynamic versions have glibc dependencies.
@ -384,7 +361,7 @@ main(int argc, char *argv[], char *envp[])
*/
if (ARGCMP("-Bdynamic") && i < argc - 1) {
if (!strcmp(argv[i + 1], "-lcxa") ||
(cpp && !strcmp(argv[i + 1], "-lunwind"))) {
((cpp || f90) && !strcmp(argv[i + 1], "-lunwind"))) {
addarg(&al, "-Bstatic", 1);
continue;
}
@ -397,7 +374,7 @@ main(int argc, char *argv[], char *envp[])
/* Don't add superfluous -Bstatic. */
if (ARGCMP("-Bstatic") && i < argc - 1 &&
(!strcmp(argv[i + 1], "-lcprts") ||
(!cpp && !strcmp(argv[i + 1], "-lunwind"))))
(!cpp && !f90 && !strcmp(argv[i + 1], "-lunwind"))))
continue;
/*

View File

@ -26,39 +26,12 @@
* $FreeBSD$
*/
short unsigned int *__ctype_b /* 0x0 */;
#include <fcntl.h>
#include <stdarg.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
typedef long long int __off64_t;
int open64(const char *path, int flags, ...) {
int mode;
va_list args;
va_start (args, flags);
return open(path, flags, va_arg(args, int));
va_end (args);
}
int creat64(const char *path, unsigned int mode) {
return open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);
}
__off64_t lseek64 (int __fd, __off64_t __offset, int __whence) {
return (__off64_t) lseek(__fd, (off_t) __offset, __whence);
}
int ftruncate64 (int __fd, __off64_t __length) {
return ftruncate(__fd, (off_t) __length);
}
static short unsigned int ctype_b[256] = { 0 };
short unsigned int *__ctype_b = ctype_b;
/* This matches struct stat64 in glibc2.1, hence the absolutely
* insane amounts of padding around dev_t's.
@ -155,9 +128,11 @@ void __lxstat64() {
fprintf(stderr, __FILE__ ": __lxstat64() is dummy.\n");
};
int __xmknod (int vers /* 0x8 */, char *path /* 0xc */,
unsigned int mode /* 0x10 */,
long long unsigned int *dev /* 0x14 */)
typedef int32_t l_long;
typedef l_long l_off_t;
l_off_t Lseek(int fildes, l_off_t offset, int whence)
{
return mknod(path, mode, *dev);
};
return (l_off_t) lseek(fildes, (off_t) offset, whence);
}

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc7/files/Attic/mcount.S,v 1.1 2002-11-18 09:27:32 maho Exp $
* $FreeBSD: /tmp/pcvs/ports/lang/ifc7/files/Attic/mcount.S,v 1.2 2003-04-28 22:17:47 maho Exp $
*/
.text

61
lang/ifc7/files/mmap.c Normal file
View File

@ -0,0 +1,61 @@
/*
* Copyright (c) 2003 The FreeBSD Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD$
*/
#include <sys/types.h>
#include <sys/mman.h>
typedef int32_t l_long;
typedef unsigned int l_uint;
typedef l_long l_off_t;
typedef l_uint l_size_t;
/* mmap options */
#define LINUX_MAP_SHARED 0x0001
#define LINUX_MAP_PRIVATE 0x0002
#define LINUX_MAP_FIXED 0x0010
#define LINUX_MAP_ANON 0x0020
#define LINUX_MAP_GROWSDOWN 0x0100
void *
Mmap(void *addr, l_size_t len, int prot, int flags, int fd, l_off_t offset)
{
int bsd_flags = 0;
if (flags & LINUX_MAP_SHARED ) bsd_flags |= MAP_SHARED;
if (flags & LINUX_MAP_PRIVATE) bsd_flags |= MAP_PRIVATE;
if (flags & LINUX_MAP_FIXED ) bsd_flags |= MAP_FIXED;
if (flags & LINUX_MAP_ANON ) bsd_flags |= MAP_ANON;
else bsd_flags |= MAP_NOSYNC;
if (flags & LINUX_MAP_GROWSDOWN) bsd_flags |= MAP_STACK;
prot |= PROT_READ; /* always required */
if (flags & LINUX_MAP_ANON)
fd = -1;
return mmap(addr, (size_t) len, prot, bsd_flags, fd, (off_t) offset);
}

View File

@ -0,0 +1,74 @@
--- ia32/bin/ifc.orig Sat Apr 5 20:48:18 2003
+++ ia32/bin/ifc Sat Apr 5 20:53:32 2003
@@ -1,34 +1,61 @@
#!/bin/sh
+PREFIX=@@PREFIX@@
+export PREFIX;
+
if [ -z INTEL_LICENSE_FILE ]
then
-INTEL_LICENSE_FILE=<INSTALLDIR>/licenses;
+INTEL_LICENSE_FILE=${PREFIX}/intel/licenses;
else
-INTEL_LICENSE_FILE=$INTEL_LICENSE_FILE:<INSTALLDIR>/licenses;
+INTEL_LICENSE_FILE=$INTEL_LICENSE_FILE:${PREFIX}/intel/licenses;
fi
export INTEL_LICENSE_FILE;
if [ -z LD_LIBRARY_PATH ]
then
- LD_LIBRARY_PATH=<INSTALLDIR>/compiler70/ia32/lib;
+ LD_LIBRARY_PATH=${PREFIX}/intel/compiler70/ia32/lib;
else
- LD_LIBRARY_PATH=<INSTALLDIR>/compiler70/ia32/lib:$LD_LIBRARY_PATH
+ LD_LIBRARY_PATH=${PREFIX}/intel/compiler70/ia32/lib:$LD_LIBRARY_PATH
fi
export LD_LIBRARY_PATH;
if [ -z PATH ]
then
- PATH=<INSTALLDIR>/compiler70/ia32/bin;
+ PATH=${PREFIX}/intel/compiler70/ia32/bin;
else
- PATH=<INSTALLDIR>/compiler70/ia32/bin:$PATH;
+ PATH=${PREFIX}/intel/compiler70/ia32/bin:$PATH;
fi
export PATH;
-export -n IA32ROOT; unset IA32ROOT;
-
if [ $# != 0 ]
then
- exec -a "<INSTALLDIR>/compiler70/ia32/bin/ifc" <INSTALLDIR>/compiler70/ia32/bin/ifcbin "$@";
+ i=0
+ argc=$#
+ while [ $i -lt $argc ] ; do
+ val1=$1
+ shift
+ val2=${val1#"-openmp"}
+ if [ ${#val1} -gt ${#val2} ] ; then
+ echo "Sorry, option '$val1' is not supported on FreeBSD."
+ exit 1
+ fi
+ val2=${val1#"-par"}
+ if [ ${#val1} -gt ${#val2} ] ; then
+ echo "Sorry, option '$val1' is not supported on FreeBSD."
+ exit 1
+ fi
+ if [ "${val1}" = "-Kpic" ] || [ "${val1}" = "-KPIC" ] || \
+ [ "${val1}" = "-fpic" ] || [ "${val1}" = "-fPIC" ] ; then
+ set -- "$@" "-Qoption,ld,-PIC"
+ fi
+ if [ "${val1}" = "-mt" ] ; then
+ unset val1
+ set -- "$@" "-Qoption,ld,-MT"
+ fi
+ set -- "$@" "$val1"
+ i=$(($i+1))
+ done
+ exec ${PREFIX}/intel/compiler70/ia32/bin/ifcbin "$@";
else
- exec -a "<INSTALLDIR>/compiler70/ia32/bin/ifc" <INSTALLDIR>/compiler70/ia32/bin/ifcbin;
+ exec ${PREFIX}/intel/compiler70/ia32/bin/ifcbin;
fi

View File

@ -1,42 +0,0 @@
--- opt/intel/compiler60/ia32/bin/ifc.orig Sun Sep 22 01:03:04 2002
+++ opt/intel/compiler60/ia32/bin/ifc Sun Sep 22 01:06:31 2002
@@ -1,29 +1,31 @@
#!/bin/sh
-INTEL_LICENSE_FILE=<INSTALLDIR>/licenses;
+PREFIX=/usr/local
+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;
+unset IA32ROOT;
if [ $# != 0 ]
then
- exec -a "<INSTALLDIR>/compiler60/ia32/bin/ifc" <INSTALLDIR>/compiler60/ia32/bin/ifcbin "$@";
+ exec ${PREFIX}/intel/compiler60/ia32/bin/ifcbin "$@";
else
- exec -a "<INSTALLDIR>/compiler60/ia32/bin/ifc" <INSTALLDIR>/compiler60/ia32/bin/ifcbin;
+ exec ${PREFIX}/intel/compiler60/ia32/bin/ifcbin;
fi

36
lang/ifc7/files/pthread.c Normal file
View File

@ -0,0 +1,36 @@
/*
* Copyright (c) 2003 The FreeBSD Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD$
*/
void pthread_exit(void *value_ptr) __attribute__ ((weak));
void pthread_exit(void *value_ptr) {}
int pthread_equal(void) __attribute__ ((weak));
int pthread_equal(void)
{
return 1;
}

View File

@ -23,12 +23,10 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc7/files/Attic/stderr.c,v 1.1 2002-11-18 09:27:32 maho Exp $
* $FreeBSD: /tmp/pcvs/ports/lang/ifc7/files/Attic/stderr.c,v 1.2 2003-04-28 22:17:47 maho Exp $
*/
#include <stdio.h>
#undef stdout
#undef stderr
FILE *stdout = &__sF[1];
FILE *stderr = &__sF[2];

32
lang/ifc7/files/stdin.c Normal file
View File

@ -0,0 +1,32 @@
/*
* Copyright (c) 2002 Marius Strobl
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc7/files/Attic/stdin.c,v 1.1 2003-04-28 22:17:47 maho Exp $
*/
#include <stdio.h>
#undef stdin
FILE *stdin = &__sF[0];

32
lang/ifc7/files/stdout.c Normal file
View File

@ -0,0 +1,32 @@
/*
* Copyright (c) 2002 Marius Strobl
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: /tmp/pcvs/ports/lang/ifc7/files/Attic/stdout.c,v 1.1 2003-04-28 22:17:47 maho Exp $
*/
#include <stdio.h>
#undef stdout
FILE *stdout = &__sF[1];

View File

@ -1,12 +1,3 @@
This is Intels Fortran compiler, it is set up to produce
native FreeBSD objects, supporting development of
performance-oriented applications for Pentium processors,
including the Pentium 4 processor.
This is Intels Fortran compiler, it is set up to produce native FreeBSD objects.
You can obtain 30-day Free Evaluation Software(Includes Support)
or, Non-Commercial Unsupported lisence.
Newer version of ifc can obtain at https://premier.intel.com/,
and another registration is required.
WWW: http://www.intel.com/software/products/compilers/f60l/
https://premier.intel.com/
WWW: http://www.intel.com/software/products/compilers/flin

File diff suppressed because it is too large Load Diff