File: debian_specific_usage_docs.patch

package info (click to toggle)
ccache 4.13.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,420 kB
  • sloc: cpp: 50,251; asm: 28,570; sh: 9,632; ansic: 5,357; python: 834; perl: 68; makefile: 24
file content (24 lines) | stat: -rw-r--r-- 936 bytes parent folder | download
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:
 +
 -------------------------------------------------------------------------------