1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: Update manual page with Debian-specific instructions
Author: Joel Rosdahl <joel@debian.org>
Forwarded: not-needed
--- a/doc/manual.adoc
+++ b/doc/manual.adoc
@@ -50,11 +50,14 @@ ccache gcc -c example.c
`gcc` and `g++`:
+
-------------------------------------------------------------------------------
-cp ccache /usr/local/bin/
-ln -s ccache /usr/local/bin/gcc
-ln -s ccache /usr/local/bin/g++
+ln -s /usr/bin/ccache /usr/local/bin/gcc
+ln -s /usr/bin/ccache /usr/local/bin/g++
-------------------------------------------------------------------------------
+
+To do this on a Debian system, it's easiest to just prepend `/usr/lib/ccache` to
+your `PATH`. `/usr/lib/ccache` contains symlinks for all compilers currently
+installed as Debian packages.
++
On systems that don't support symbolic links, you can copy ccache instead:
+
-------------------------------------------------------------------------------
|