Dear Wiki user, You have subscribed to a wiki page or wiki category on "Stdcxx Wiki" for change notification.
The "Compilers" page has been changed by MartinSebor. The comment on this change is: Added links to Sun Studio docs.. http://wiki.apache.org/stdcxx/Compilers?action=diff&rev1=24&rev2=25 -------------------------------------------------- = Compiler Resources = - ---- == GNU gcc == See the [[gcc]] page. ---- == HP aCC == - See the [[HP_aCC| HP aCC]] page. + See the [[HP_aCC|HP aCC]] page. ---- == HP (formerly Compaq, formerly DEC) C++ == - === Online References === === Predefined Macros === + ||||||||||||||<tablestyle="text-align: center;"style="text-align: center;">HP C++ Predefined Macros || + ||<rowbgcolor="powderblue" rowstyle="font-weight: bold;">MACRO ||Arch ||HP C++ OPTION ||VERSION ||DESCRIPTION || + ||`__osf__` || || || || || + ||`__digital__` || || || || || + ||`_SYSTYPE_BSD` || || || || || + ||`__unix__`, `__unix` || || || || || + ||`__INITIAL_POINTER_SIZE=0` || || || || || + ||`__arch64__` || || || || || + ||`__IEEE_FLOAT` || || || || || + ||`__Alpha_AXP` || || || || || + ||`_LONGLONG` || || || || || + ||`__alpha__`, `__alpha`, `__ALPHA` || || || || || + ||`__DECCXX_VER=70190006` || || || || || + ||`__MODEL_ARM` || || || || || + ||`__STD_ANSI` || || || || || + ||`__IMPLICIT_INCLUDE_ENABLED` || || || || || + ||`__STDNEW` || || || || || + ||`__X_FLOAT` || || || || || + ||`__PRAGMA_ENVIRONMENT` || || || || || + ||`__DECCXX` || || || || || + ||`__EDG_VERSION__=304` || || || || || + ||`__EDG__` || || || || || + ||`__IMPLICIT_USING_STD` || || || || || + ||`__RTTI` || || || || || + ||`__EXCEPTIONS` || || || || || + ||`__GLOBAL_ARRAY_NEW` || || || || || + ||`__BOOL_IS_A_RESERVED_WORD` || || || || || + ||`_BOOL_EXISTS` || || || || || + ||`__WCHAR_T` || || || || || + ||`_WCHAR_T` || || || || || + ||`__cplusplus=199711L` || || || || || + ||`__TIME__` || || || || || + ||`__DATE__` || || || || || - ||||||||||||||<tablestyle="text-align:center;">HP C++ Predefined Macros|| - ||<rowstyle="background-color:powderblue;font-weight:bold">MACRO||Arch||HP C++ OPTION||VERSION||DESCRIPTION|| - ||`__osf__`|| || || || || - ||`__digital__`|| || || || || - ||`_SYSTYPE_BSD`|| || || || || - ||`__unix__`, `__unix`|| || || || || - ||`__INITIAL_POINTER_SIZE=0`|| || || || || - ||`__arch64__`|| || || || || - ||`__IEEE_FLOAT`|| || || || || - ||`__Alpha_AXP`|| || || || || - ||`_LONGLONG`|| || || || || - ||`__alpha__`, `__alpha`, `__ALPHA`|| || || || || - ||`__DECCXX_VER=70190006`|| || || || || - ||`__MODEL_ARM`|| || || || || - ||`__STD_ANSI`|| || || || || - ||`__IMPLICIT_INCLUDE_ENABLED`|| || || || || - ||`__STDNEW`|| || || || || - ||`__X_FLOAT`|| || || || || - ||`__PRAGMA_ENVIRONMENT`|| || || || || - ||`__DECCXX`|| || || || || - ||`__EDG_VERSION__=304`|| || || || || - ||`__EDG__`|| || || || || - ||`__IMPLICIT_USING_STD`|| || || || || - ||`__RTTI`|| || || || || - ||`__EXCEPTIONS`|| || || || || - ||`__GLOBAL_ARRAY_NEW`|| || || || || - ||`__BOOL_IS_A_RESERVED_WORD`|| || || || || - ||`_BOOL_EXISTS`|| || || || || - ||`__WCHAR_T`|| || || || || - ||`_WCHAR_T`|| || || || || - ||`__cplusplus=199711L`|| || || || || - ||`__TIME__`|| || || || || - ||`__DATE__`|| || || || || === Discussion Forums === === Bug Reports === - ---- == IBM XLC/C++ == - * [[http://www.ibm.com/software/awdtools/ccompilers|IBM C And C++ Compilers]] * [[http://www.ibm.com/software/awdtools/xlcpp/|IBM XLC/C++]] home page. * [[http://www.ibm.com/software/ad/vacpp|IBM VisualAge C++]] home page. === Online References === - * [[http://publib.boulder.ibm.com/infocenter/comphelp/v101v121/index.jsp|XLC/C++ 10.1]] * [[http://www-306.ibm.com/software/awdtools/xlcpp/library/|Reference]] for XLC++ 9 and prior * [[http://publib.boulder.ibm.com/infocenter/comphelp/v9v111/index.jsp|XLC/C++ 9.0]] for AIX @@ -73, +68 @@ * [[http://www-01.ibm.com/software/awdtools/vacpp/library/|VisualAge C++ Library]] for V6.0 and V5.0. === Predefined Macros === - * Macros defined by the compiler are documented in the Predefined Macros chapter in the online reference. === Discussion Forums === === Bug Reports === - ---- == Intel C++ == - === Online References === - * [[http://www.intel.com/cd/software/products/asmo-na/eng/compilers/284132.htm|Intel Compilers]] page. * [[http://www.intel.com/software/products/compilers/docs/clin/main_cls/|IntelĀ® C++ Compiler Documentation]]. === Predefined Macros === + ||||||||||||||<tablestyle="text-align: center;"style="text-align: center;">Intel C++ Predefined Macros || + ||<rowbgcolor="powderblue" rowstyle="font-weight: bold;">MACRO ||Arch ||OS ||Intel C++ OPTION ||VERSION ||DESCRIPTION || + ||`__INTEL_COMPILER` ||all ||all || ||all ||<style="text-align: left;">Defined to 1. || + ||`__ECC` ||IA64 ||all || ||all ||<style="text-align: left;">Defined to the compiler version. || + ||`__EDG__` ||all ||all || ||all ||<style="text-align: left;">Always defined to 1. || + ||`__EDG_VERSION__` ||all ||all || ||all ||<style="text-align: left;">Defined to the version of the EDG eccp front end used by the compiler. || + ||`__GNUC__` ||all ||Linux || ||all ||<style="text-align: left;">Defined to the major version of gcc the compiler is configure to use. || + ||`__GNUG__` ||all ||Linux || ||all ||<style="text-align: left;">Defined to the same value as `__GUNC__` in C++ mode. || + ||`__i386`, `__i386__`, `i386` ||i86 ||all || ||all ||<style="text-align: left;">Defined to 1 on i86 and compatible processors. || + ||`__ia64`, `__ia64__` ||IA64 ||all || ||all ||<style="text-align: left;">Defined to 1 on IA64 processors. || + ||`__ICC` ||i86, Intel 64 ||all || ||all ||<style="text-align: left;">Defined to the compiler version. || + ||`__INTEL_COMPILER` ||all ||all || ||all ||<style="text-align: left;">Defined to the compiler version. || + ||`__INTEL_COMPILER_BUILD_DATE` ||all ||all || ||8.0+ ||<style="text-align: left;">Defined to the compiler build date in the format `YYYYMMDD`. || + ||`__itanium__` ||IA64 ||all || ||all ||<style="text-align: left;">Defined to 1 on IA64 processors. || + ||`__linux`, `__linux__`, `linux` ||all ||Linux || ||all ||<style="text-align: left;">Defined to 1 on Linux. || + ||`__lp64`, `__LP64__`, `_LP64` ||Intel 64, IA64 ||all || ||all ||<style="text-align: left;">Defined to 1 in LP64 mode. || + ||`__PTRDIFF_TYPE__` ||all ||all || ||all ||<style="text-align: left;">Defined to the underlying type of `ptrdiff_t`. || + ||`__SIZE_TYPE__` ||all ||all || ||all ||<style="text-align: left;">Defined to the underlying type of `size_t`. || + ||`__unix`, `__unix__`, `unix` ||all ||Linux || ||all ||<style="text-align: left;">Defined to 1 on Linux. || + ||`__VERSION__` ||all ||all || ||all ||<style="text-align: left;">Defined to the version string. || + ||`__WCHAR_TYPE__` ||all ||all || ||all ||<style="text-align: left;">Defined to the underlying type of `wchar_t`. || + ||`__WINT_TYPE__` ||all ||all || ||all ||<style="text-align: left;">Defined to the underlying type of `wint_t`. || + ||`__x86_64`, `__x86_64__` ||Intel 64 ||all || ||all ||<style="text-align: left;">Defined to 1 on Intel 64 and compatible processors (including AMD64). || - ||||||||||||||<tablestyle="text-align:center;">Intel C++ Predefined Macros|| - ||<rowstyle="background-color:powderblue;font-weight:bold">MACRO||Arch||OS||Intel C++ OPTION||VERSION||DESCRIPTION|| - ||`__INTEL_COMPILER`||all||all|| ||all||<style="text-align:left">Defined to 1.|| - ||`__ECC`||IA64||all|| ||all ||<style="text-align:left">Defined to the compiler version.|| - ||`__EDG__`||all||all|| ||all||<style="text-align:left">Always defined to 1.|| - ||`__EDG_VERSION__`||all||all|| ||all||<style="text-align:left">Defined to the version of the EDG eccp front end used by the compiler.|| - ||`__GNUC__`||all||Linux|| ||all||<style="text-align:left">Defined to the major version of gcc the compiler is configure to use.|| - ||`__GNUG__`||all||Linux|| ||all||<style="text-align:left">Defined to the same value as `__GUNC__` in C++ mode.|| - ||`__i386`, `__i386__`, `i386`||i86||all|| ||all||<style="text-align:left">Defined to 1 on i86 and compatible processors.|| - ||`__ia64`, `__ia64__`||IA64||all|| ||all||<style="text-align:left">Defined to 1 on IA64 processors.|| - ||`__ICC`||i86, Intel 64||all|| ||all||<style="text-align:left">Defined to the compiler version.|| - ||`__INTEL_COMPILER`||all||all|| ||all||<style="text-align:left">Defined to the compiler version.|| - ||`__INTEL_COMPILER_BUILD_DATE`||all||all|| ||8.0+||<style="text-align:left">Defined to the compiler build date in the format `YYYYMMDD`.|| - ||`__itanium__`||IA64||all|| ||all||<style="text-align:left">Defined to 1 on IA64 processors.|| - ||`__linux`, `__linux__`, `linux`||all||Linux|| ||all||<style="text-align:left">Defined to 1 on Linux.|| - ||`__lp64`, `__LP64__`, `_LP64`||Intel 64, IA64||all|| ||all||<style="text-align:left">Defined to 1 in LP64 mode.|| - ||`__PTRDIFF_TYPE__`||all||all|| ||all||<style="text-align:left">Defined to the underlying type of `ptrdiff_t`.|| - ||`__SIZE_TYPE__`||all||all|| ||all||<style="text-align:left">Defined to the underlying type of `size_t`.|| - ||`__unix`, `__unix__`, `unix`||all||Linux|| ||all||<style="text-align:left">Defined to 1 on Linux.|| - ||`__VERSION__`||all||all|| ||all||<style="text-align:left">Defined to the version string.|| - ||`__WCHAR_TYPE__`||all||all|| ||all||<style="text-align:left">Defined to the underlying type of `wchar_t`.|| - ||`__WINT_TYPE__`||all||all|| ||all||<style="text-align:left">Defined to the underlying type of `wint_t`.|| - ||`__x86_64`, `__x86_64__`||Intel 64||all|| ||all||<style="text-align:left">Defined to 1 on Intel 64 and compatible processors (including AMD64).|| === Discussion Forums === === Bug Reports === - ---- == SGI MIPSpro == - - * [[http://www.sgi.com/products/software/irix/tools/c++.html]] + * http://www.sgi.com/products/software/irix/tools/c++.html === Online References === - * MIPS Pro 7.4 [[http://techpubs.sgi.com/library/manuals/0000/007-0704-140/pdf/007-0704-140.pdf|Programmers Guide]] * MIPS Pro 7.4 [[http://techpubs.sgi.com/library/manuals/3000/007-3587-005/pdf/007-3587-005.pdf|Pragmas]] * MIPS Pro 7.3 [[http://techpubs.sgi.com/library/manuals/0000/007-0704-130/pdf/007-0704-130.pdf|Programmers Guide]] @@ -130, +118 @@ === Predefined Macros === === Discussion Forums === === Bug Reports === - ---- == Sun C++ == - === Online References === - * [[http://developers.sun.com/sunstudio/|Sun Studio]] home page at the [[http://developers.sun.com/|Sun Developer Network]] - * [[http://developers.sun.com/sunstudio/support/CCcompare.html|Sun Studio C++ Features by Release]] - List of major compiler features and their availability in each Sun C++ release. + * [[http://developers.sun.com/sunstudio/support/CCcompare.html|Sun Studio C++ Features by Release]] - List of major compiler features and their availability in each Sun C++ release + * Sun Studio [[http://developers.sun.com/sunstudio/documentation/ss12u1/|12 Update 1 (CC 5.10)]] Documentation Online + * Sun Studio[[http://developers.sun.com/sunstudio/documentation/ss12/|12 (CC 5.9)]] Documentation Online + * Sun Studio [[http://developers.sun.com/sunstudio/documentation/ss11/|11 (CC 5.8)]] Documentation Online + * Sun Studio [[http://docs.sun.com/app/docs/coll/771.6|10 (CC 5.7)]] Documentation Online + * Sun Studio [[http://docs.sun.com/source/817-6691|9 (CC 5.6)]] Documentation Online + * Sun Studio [[http://docs.sun.com/app/docs/coll/771.4|8 (CC 5.5)]] Documentation Online === Predefined Macros === === Discussion Forums === - * [[http://forums.sun.com/forum.jspa?forumID=850|Sun Studio C++ Developer Forums]] === Bug Reports === - * See this [[http://forums.sun.com/ann.jspa?annID=30|Announcement: How to report Bug and RFE (Request for Enhancement) for Sun Studio product]]. - === Performance Tuning === + === Performance Tuning === * [[http://developers.sun.com/sunstudio/overview/topics/tuning_index.html|Sun Studio: Performance Tuning and Optimization]] ---- @@ -156, +145 @@ * [[http://msdn.microsoft.com/vstudio/|Microsoft Visual Studio]] home page. === Online References === - * [[http://msdn.microsoft.com/en-us/library/default.aspx|MSDN Library]] * Microsoft Visual Studio [[http://msdn.microsoft.com/en-us/library/aa187917.aspx|2008]] (AKA MSVC 9.0) * Microsoft Visual Studio [[http://msdn.microsoft.com/en-us/library/ms950416.aspx|2005]] (AKA MSVC 8.0) @@ -164, +152 @@ * Microsoft Visual Studio [[http://msdn.microsoft.com/en-us/library/ms950417.aspx|6.0]] (AKA MSVC 6.0) === Predefined Macros === - * [[http://msdn.microsoft.com/en-us/library/b0084kay.aspx|MSVC 9.0]] * [[http://msdn.microsoft.com/en-us/library/b0084kay(VS.80).aspx|MSVC 8.0]] * [[http://msdn.microsoft.com/en-us/library/b0084kay(VS.71).aspx|MSVC 7.1]] * [[http://msdn.microsoft.com/en-us/library/aa273918(VS.60).aspx|MSVC 6.0]] === Discussion Forums === - * [[http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=8&SiteID=1|MSDN VisualC++ Developer Forums]] === Bug Reports === - * [[http://connect.microsoft.com/VisualStudio|Microsoft Connect]] ---- - CategoryPlatform