select_compiler_config.hpp

Go to the documentation of this file.
00001 //  Boost compiler configuration selection header file
00002 
00003 //  (C) Copyright John Maddock 2001 - 2003. 
00004 //  (C) Copyright Martin Wille 2003.
00005 //  (C) Copyright Guillaume Melquiond 2003. 
00006 //  Use, modification and distribution are subject to the 
00007 //  Boost Software License, Version 1.0. (See accompanying file 
00008 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00009 
00010 //  See http://www.boost.org for most recent version.
00011 
00012 // locate which compiler we are using and define
00013 // BOOST_COMPILER_CONFIG as needed: 
00014 
00015 # if defined __COMO__
00016 //  Comeau C++
00017 #   define BOOST_COMPILER_CONFIG "sysc/packages/boost/config/compiler/comeau.hpp"
00018 
00019 #elif defined __DMC__
00020 //  Digital Mars C++
00021 #   define BOOST_COMPILER_CONFIG "sysc/packages/boost/config/compiler/digitalmars.hpp"
00022 
00023 #elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
00024 //  Intel
00025 #   define BOOST_COMPILER_CONFIG "sysc/packages/boost/config/compiler/intel.hpp"
00026 
00027 # elif defined __GNUC__
00028 //  GNU C++:
00029 #   define BOOST_COMPILER_CONFIG "sysc/packages/boost/config/compiler/gcc.hpp"
00030 
00031 #elif defined __KCC
00032 //  Kai C++
00033 #   define BOOST_COMPILER_CONFIG "sysc/packages/boost/config/compiler/kai.hpp"
00034 
00035 #elif defined __sgi
00036 //  SGI MIPSpro C++
00037 #   define BOOST_COMPILER_CONFIG "sysc/packages/boost/config/compiler/sgi_mipspro.hpp"
00038 
00039 #elif defined __DECCXX
00040 //  Compaq Tru64 Unix cxx
00041 #   define BOOST_COMPILER_CONFIG "sysc/packages/boost/config/compiler/compaq_cxx.hpp"
00042 
00043 #elif defined __ghs
00044 //  Greenhills C++
00045 #   define BOOST_COMPILER_CONFIG "sysc/packages/boost/config/compiler/greenhills.hpp"
00046 
00047 #elif defined __BORLANDC__
00048 //  Borland
00049 #   define BOOST_COMPILER_CONFIG "sysc/packages/boost/config/compiler/borland.hpp"
00050 
00051 #elif defined  __MWERKS__
00052 //  Metrowerks CodeWarrior
00053 #   define BOOST_COMPILER_CONFIG "sysc/packages/boost/config/compiler/metrowerks.hpp"
00054 
00055 #elif defined  __SUNPRO_CC
00056 //  Sun Workshop Compiler C++
00057 #   define BOOST_COMPILER_CONFIG "sysc/packages/boost/config/compiler/sunpro_cc.hpp"
00058 
00059 #elif defined __HP_aCC
00060 //  HP aCC
00061 #   define BOOST_COMPILER_CONFIG "sysc/packages/boost/config/compiler/hp_acc.hpp"
00062 
00063 #elif defined(__MRC__) || defined(__SC__)
00064 //  MPW MrCpp or SCpp
00065 #   define BOOST_COMPILER_CONFIG "sysc/packages/boost/config/compiler/mpw.hpp"
00066 
00067 #elif defined(__IBMCPP__)
00068 //  IBM Visual Age
00069 #   define BOOST_COMPILER_CONFIG "sysc/packages/boost/config/compiler/vacpp.hpp"
00070 
00071 #elif defined _MSC_VER
00072 //  Microsoft Visual C++
00073 //
00074 //  Must remain the last #elif since some other vendors (Metrowerks, for
00075 //  example) also #define _MSC_VER
00076 #   define BOOST_COMPILER_CONFIG "sysc/packages/boost/config/compiler/visualc.hpp"
00077 
00078 #elif defined (BOOST_ASSERT_CONFIG)
00079 // this must come last - generate an error if we don't
00080 // recognise the compiler:
00081 #  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)"
00082 
00083 #endif

Generated on Wed Jan 21 15:32:09 2009 for SystemC by  doxygen 1.5.5