From: navarro Date: Thu, 7 Jun 2012 12:26:30 +0000 (+0200) Subject: Update doc for install section. X-Git-Tag: v3_8~646^2~9 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/10b586757ab8526c1e1e25317898b21a0c430e02 Update doc for install section. --- diff --git a/doc/install.doc b/doc/install.doc index eb3663fcba..d912e8b2e2 100644 --- a/doc/install.doc +++ b/doc/install.doc @@ -24,6 +24,9 @@ For Unix and MacOS: \li c and c++ compiler \li ccmake for graphical used of CMake \li cmake (download page) + +On MacOSX some users reported that it is still possible to build with clang, provided that you use the +following package versions clang3.1 and clang++3.1. If it fails on you, try to use gcc47 (port install gcc47). For Windows : \li cmake 2.8 (download page) @@ -31,6 +34,14 @@ For Windows : \li perl (download page) \li git (download page) +Note that if you want change the compiler, you can simply specify the environment variables CC and CXX. +\verbatim + export CC=gcc-4.4 + export CXX=g++-4.4 + export CC=clang + export CXX=clang++ +\endverbatim + \subsubsection install_cmakeoption1 Liste of options \verbatim @@ -57,8 +68,6 @@ For Windows : gtnets_path ns3_path CMAKE_INSTALL_PREFIX - CMAKE_C_COMPILER - CMAKE_CXX_COMPILER pipol_user \endverbatim @@ -106,10 +115,6 @@ For Windows : \li CMAKE_INSTALL_PREFIX : Path where are installed lib/ doc/ and include/ directories (ex /usr/local) - \li CMAKE_C_COMPILER : Change the c compiler. - - \li CMAKE_CXX_COMPILER : Change the c++ compiler. - \li pipol_user : specify your pipol username if you want to use the pipol-remote command. \subsubsection install_cmakeoption3 Initialisation