From 182aa787938f10e0d454b107edf22f2fa277992a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vedran=20Mileti=C4=87?= Date: Wed, 12 Dec 2012 19:52:06 +0100 Subject: [PATCH] Document building with distcc in tutorial, add it to RELEASE_NOTES and CHANGES.html. --- CHANGES.html | 2 +- RELEASE_NOTES | 9 +++++++-- doc/tutorial/source/getting-started.rst | 22 ++++++++++++++++++++++ 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/CHANGES.html b/CHANGES.html index 36a4b7028..d351688a6 100644 --- a/CHANGES.html +++ b/CHANGES.html @@ -69,7 +69,7 @@ A user can call these functions to set/get the corresponding socket option. See

Changes to build system:

Changed behavior:

diff --git a/RELEASE_NOTES b/RELEASE_NOTES index ba4f154d8..f64f08bff 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -21,8 +21,13 @@ Supported platforms New user-visible features ------------------------- --Support several new LTE MAC schedulers developed in GSoC 2012 project. Those schedulers include FD-MT, TD-MT, TTA, FD-BET, TD-BET, FD-TBFQ, TD-TBFQ, PSS. Here, FD and TD mean frequency domain and time domain respectively. - +- Support several new LTE MAC schedulers developed in GSoC 2012 project. + Those schedulers include FD-MT, TD-MT, TTA, FD-BET, TD-BET, FD-TBFQ, + TD-TBFQ, PSS. Here, FD and TD mean frequency domain and time domain + respectively. +- It's now possible to use distcc when building ns-3 by using + $ CXX='distcc g++' ./waf configure + $ ./waf build Bugs fixed ---------- diff --git a/doc/tutorial/source/getting-started.rst b/doc/tutorial/source/getting-started.rst index 2229baf5e..3141a9860 100644 --- a/doc/tutorial/source/getting-started.rst +++ b/doc/tutorial/source/getting-started.rst @@ -471,6 +471,28 @@ the ``-o`` option to configure; e.g. This allows users to work with multiple builds rather than always overwriting the last build. +In the examples above, waf uses GCC C++ compiler, command ``g++``, for +building ns-3. However, it's possible to change C++ compiler used by waf. +Say one wants to use Clang C++ compiler, command ``clang++``; it's done by + +:: + + CXX="clang++" ./waf configure + ./waf build + +One can also set up waf to do distributed compilation with ``distcc`` in +a similar way: + +:: + + CXX="distcc g++" ./waf configure + ./waf build + +More info on distcc and distributed compilation can be found on it's +`project page +`_ +under Documentation section. + Testing ns-3 ************