[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: icecream/doc
From: Luboš Luňák <l.lunak () kde ! org>
Date: 2012-07-08 10:14:06
Message-ID: 20120708101406.168A1AC7A9 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1304587 by lunakl:
update ccache instructions to use CCACHE_PREFIX
M +14 -8 man-icecream.7.docbook
--- trunk/icecream/doc/man-icecream.7.docbook #1304586:1304587
@@ -146,18 +146,24 @@
<refsect1>
<title>How to combine icecream with ccache</title>
-<para>The easiest way to use ccache with icecream is putting the symlink
-masquerades into /opt/icream/bin and putting small wrapper scripts in
-/opt/ccache/bin
+<para>The easiest way to use ccache with icecream is to set <varname>CCACHE_PREFIX</varname>
+to icecc (the actual icecream client wrapper)
<screen>
- cat /opt/ccache/bin/g++:
+ export CCACHE_PREFIX=icecc
+</screen>
+</para>
- #! /bin/sh
+<para>This will make ccache prefix any compilation command it needs to do with icecc,
+making it use icecream for the compilation (but not for preprocessing alone).</para>
- export CCACHE_PATH=/opt/icecream/bin
- export PATH=/opt/icecream/bin:/usr/bin:$PATH
- ccache g++ "$@"
+<para>To actually use ccache, the mechanism is the same like with using icecream alone.
+Since ccache does not provide any symlinks in /opt/ccache/bin, you can create them manually:
+
+<screen>
+mkdir /opt/ccache/bin
+ln -s /usr/bin/ccache /opt/ccache/bin/gcc
+ln -s /usr/bin/ccache /opt/ccache/bin/g++
</screen>
</para>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic