]> AND Private Git Repository - canny.git/blob - stc/exp/ml_stc_linux_make_v1.0/include/boost/config/select_compiler_config.hpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
0e2d6b30980c8e6bd5ba4026591e66c0df7bf2e5
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / include / boost / config / select_compiler_config.hpp
1 //  Boost compiler configuration selection header file\r
2 \r
3 //  (C) Copyright John Maddock 2001 - 2003. \r
4 //  (C) Copyright Martin Wille 2003.\r
5 //  (C) Copyright Guillaume Melquiond 2003.\r
6 //\r
7 //  Distributed under the Boost Software License, Version 1.0.\r
8 //  (See accompanying file LICENSE_1_0.txt or copy at\r
9 //   http://www.boost.org/LICENSE_1_0.txt)\r
10 \r
11 //  See http://www.boost.org/ for most recent version.\r
12 \r
13 \r
14 // one identification macro for each of the\r
15 // compilers we support:\r
16 \r
17 #   define BOOST_CXX_GCCXML   0\r
18 #   define BOOST_CXX_COMO     0\r
19 #   define BOOST_CXX_DMC      0\r
20 #   define BOOST_CXX_INTEL    0\r
21 #   define BOOST_CXX_GNUC     0\r
22 #   define BOOST_CXX_KCC      0\r
23 #   define BOOST_CXX_SGI      0\r
24 #   define BOOST_CXX_TRU64    0\r
25 #   define BOOST_CXX_GHS      0\r
26 #   define BOOST_CXX_BORLAND  0\r
27 #   define BOOST_CXX_CW       0\r
28 #   define BOOST_CXX_SUNPRO   0\r
29 #   define BOOST_CXX_HPACC    0\r
30 #   define BOOST_CXX_MPW      0\r
31 #   define BOOST_CXX_IBMCPP   0\r
32 #   define BOOST_CXX_MSVC     0\r
33 #   define BOOST_CXX_PGI      0\r
34 \r
35 \r
36 // locate which compiler we are using and define\r
37 // BOOST_COMPILER_CONFIG as needed: \r
38 \r
39 #if defined(__GCCXML__)\r
40 // GCC-XML emulates other compilers, it has to appear first here!\r
41 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc_xml.hpp"\r
42 \r
43 #elif defined __COMO__\r
44 //  Comeau C++\r
45 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"\r
46 \r
47 #elif defined __DMC__\r
48 //  Digital Mars C++\r
49 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/digitalmars.hpp"\r
50 \r
51 #elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)\r
52 //  Intel\r
53 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"\r
54 \r
55 # elif defined __GNUC__\r
56 //  GNU C++:\r
57 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc.hpp"\r
58 \r
59 #elif defined __KCC\r
60 //  Kai C++\r
61 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/kai.hpp"\r
62 \r
63 #elif defined __sgi\r
64 //  SGI MIPSpro C++\r
65 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/sgi_mipspro.hpp"\r
66 \r
67 #elif defined __DECCXX\r
68 //  Compaq Tru64 Unix cxx\r
69 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/compaq_cxx.hpp"\r
70 \r
71 #elif defined __ghs\r
72 //  Greenhills C++\r
73 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/greenhills.hpp"\r
74 \r
75 #elif defined __CODEGEARC__\r
76 //  CodeGear - must be checked for before Borland\r
77 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/codegear.hpp"\r
78 \r
79 #elif defined __BORLANDC__\r
80 //  Borland\r
81 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/borland.hpp"\r
82 \r
83 #elif defined  __MWERKS__\r
84 //  Metrowerks CodeWarrior\r
85 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/metrowerks.hpp"\r
86 \r
87 #elif defined  __SUNPRO_CC\r
88 //  Sun Workshop Compiler C++\r
89 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/sunpro_cc.hpp"\r
90 \r
91 #elif defined __HP_aCC\r
92 //  HP aCC\r
93 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/hp_acc.hpp"\r
94 \r
95 #elif defined(__MRC__) || defined(__SC__)\r
96 //  MPW MrCpp or SCpp\r
97 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/mpw.hpp"\r
98 \r
99 #elif defined(__IBMCPP__)\r
100 //  IBM Visual Age\r
101 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/vacpp.hpp"\r
102 \r
103 #elif defined(__PGI)\r
104 //  Portland Group Inc.\r
105 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/pgi.hpp"\r
106 \r
107 #elif defined _MSC_VER\r
108 //  Microsoft Visual C++\r
109 //\r
110 //  Must remain the last #elif since some other vendors (Metrowerks, for\r
111 //  example) also #define _MSC_VER\r
112 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/visualc.hpp"\r
113 \r
114 #elif defined (BOOST_ASSERT_CONFIG)\r
115 // this must come last - generate an error if we don't\r
116 // recognise the compiler:\r
117 #  error "Unknown compiler - please configure (http://www.boost.org/libs/config/config.htm#configuring) and report the results to the main boost mailing list (http://www.boost.org/more/mailing_lists.htm#main)"\r
118 \r
119 #endif\r