1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/lang/icc/files/cdefs.h
Alexander Leidinger 5b75a54ddf Update to 8.0.055.p057.
As Intel uses it's own directory for ifc and icc, we don't conflict with
ifc anymore.

Because of ABI changes, you have to recompile C++ programs (don't forget
stlport-icc).

Note that this port is a _work in progress_:
 - Icc allows to use an already installed libstdc++ from gcc, this doesn't
   work yet on FreeBSD. Libstdc++ on 4.x is too old, so it's unlikely we
   can add support for it. The headers of libstdc++ shipping with FreeBSD
   5.2-CURRENT use GCCisms not (yet) supported by icc, the hardcoded search
   path for them also doesn't fit for FreeBSD 5.2-CURRENT.
 - We've incorporated parts (cxa) of the FreeBSD >= 502101 libc on < 502101
   systems. It's tested on 4.x, but not on FreeBSD < 502101.
 - Not all (new) options (including GCC compatibility) are thoroughly
   tested.

When encountering problems please report to me first instead of directly
contacting Intel.

Ackknowledgements:
 - Bradley T Hughes <bhughes@trolltech.com> for PR 59552, it resulted in
   a modification of our libc (C++ DSO Object Destruction API) we
   incorporate in the port on < 502101 systems.
 - Marius Strobl <marius@alchemy.franken.de> for his help with the port
   (e.g. ld.c, cxa).
2004-01-11 15:32:07 +00:00

21 lines
445 B
C

#ifndef __INTEL_COMPILER_SYS_CDEFS_H_
#define __INTEL_COMPILER_SYS_CDEFS_H_
#ifndef __GNUC__
#define __INTEL_COMPILER_NO_GNUC_DEFINED
#define __GNUC__ 3
#define __GNUC_MINOR__ 2
#define __GNUC_PATCHLEVEL__ 0
#endif
#include_next <sys/cdefs.h>
#ifdef __INTEL_COMPILER_NO_GNUC_DEFINED
#undef __GNUC__
#undef __GNUC_MINOR__
#undef __GNUC_PATCHLEVEL__
#undef __INTEL_COMPILER_NO_GNUC_DEFINED
#endif
#endif /* !__INTEL_COMPILER_SYS_CDEFS_H_ */