Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Stdcxx Wiki" for change 
notification.

The following page has been changed by MartinSebor:
http://wiki.apache.org/stdcxx/Platforms

The comment on the change is:
Added a table showing how to differentiate between various platforms.

------------------------------------------------------------------------------
  
  [[FullSearch()]]
  
+ 
+ = Identifying a Platform =
+ 
+ The table below is a summary of combinations of operating systems, compilers, 
and runtime libraries, and the preprocessor conditionals that can be used to 
distinguish between them. It was prompted by the discussion in 
[http://issues.apache.org/jira/browse/STDCXX-2 STDCXX-2], specifically this 
[http://issues.apache.org/jira/browse/STDCXX-2?focusedCommentId=12569012#action_12569012
 comment].
+ 
+ ||||||||<tablestyle="text-align:center;">Platform Identification Macros||
+ 
||<rowstyle="background-color:powderblue;font-weight:bold">OS||COMPILER||RUNTIME||MACROS||
+ ||AIX||gcc||libsupc++||`_RWSTD_OS_AIX && __GNUC__`||
+ ||AIX||IBM XLC/C++||libC||`_RWSTD_OS_AIX && __IBMCPP__`||
+ ||FreeBSD||gcc||libsupc++||`_RWSTD_OS_FREEBSD && __GNUC__`||
+ ||HP-UX||gcc||libsupc++||`_RWSTD_OS_HP_UX && __GNUC__`||
+ ||HP-UX||HP aCC [#note_1 1]||libCsup_v2.2||`_RWSTD_OS_HP_UX && __HP_aCC`||
+ ||Linux||EDG eccp|| ||`_RWSTD_OS_LINUX && __EDG__ && !__INTEL_COMPILER`||
+ ||Linux||gcc||libsupc++||`_RWSTD_OS_LINUX && __GNUC__`||
+ ||Linux||IBM XLC++||?||`_RWSTD_OS_LINUX && __IBMCPP__`||
+ ||Linux||Intel C++ [#note_1 1]||libsupc++, ?||`_RWSTD_OS_LINUX && 
__INTEL_COMPILER`||
+ ||Linux||Sun C++|| ||`_RWSTD_OS_SUNOS && __SUNPRO_CC__`||
+ ||NetBSD||gcc||libsupc++||`_RWSTD_OS_NETBSD && __GNUC__`||
+ ||OpenBSD||gcc||libsupc++||`_RWSTD_OS_OPENBSD && __GNUC__`||
+ ||Solaris||EDG eccp|| ||`_RWSTD_OS_SUNOS && __EDG__ && !__INTEL_COMPILER`||
+ ||Solaris||gcc||libsupc++||`_RWSTD_OS_SUNOS && __GNUC__`||
+ ||Solaris||Sun C++|| ||`_RWSTD_OS_SUNOS && __SUNPRO_CC__`||
+ ||Windows||Borland C++||?||`_WIN32 && __TURBOC__`||
+ ||Windows||Digital Mars C++||?||?||
+ ||Windows||EDG eccp||?||`_WIN32 && __EDG__ && !__INTEL_COMPILER`||
+ ||Windows||Intel C++ [#note_1 1]||?||`_WIN32 && __INTEL_COMPILER`||
+ ||Windows||Visual C++||?||`_MSC_VER`||
+ ||Windows/Cygwin||gcc||libsupc++||`__CYGWIN__ && __GNUC__`||
+ ||Windows/MinGW||gcc||libsupc++||`__MINGW__ && __GNUC__`||
+ 
+ [[Anchor(note_1)]] (1) Uses EDG eccp front end.
+ 
  ----
  PlatformCategory
  ----

Reply via email to