summaryrefslogtreecommitdiffstats
path: root/doc/user/caching.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/caching.sgml')
-rw-r--r--doc/user/caching.sgml53
1 files changed, 25 insertions, 28 deletions
diff --git a/doc/user/caching.sgml b/doc/user/caching.sgml
index 3d9158e..223592e 100644
--- a/doc/user/caching.sgml
+++ b/doc/user/caching.sgml
@@ -81,16 +81,15 @@
</para>
<literallayout>
- % <userinput>scons</userinput>
- cc -c hello.c -o hello.o
+ % <userinput>scons -Q</userinput>
+ cc -c -o hello.o hello.c
cc -o hello hello.o
- % <userinput>scons -c</userinput>
+ % <userinput>scons -Q -c</userinput>
Removed hello.o
Removed hello
- % <userinput>scons</userinput>
+ % <userinput>scons -Q</userinput>
Retrieved `hello.o' from cache
Retrieved `hello' from cache
- %
</literallayout>
</section>
@@ -124,16 +123,15 @@
</para>
<literallayout>
- % <userinput>scons</userinput>
- cc -c hello.c -o hello.o
+ % <userinput>scons -Q</userinput>
+ cc -c -o hello.o hello.c
cc -o hello hello.o
- % <userinput>scons -c</userinput>
+ % <userinput>scons -Q -c</userinput>
Removed hello.o
Removed hello
- % <userinput>scons --cache-show</userinput>
- cc -c hello.c -o hello.o
+ % <userinput>scons -Q --cache-show</userinput>
+ cc -c -o hello.o hello.c
cc -o hello hello.o
- %
</literallayout>
<para>
@@ -178,22 +176,21 @@
</para>
<literallayout>
- % <userinput>scons</userinput>
- cc -c hello.c -o hello.o
+ % <userinput>scons -Q</userinput>
+ cc -c -o hello.o hello.c
cc -o hello hello.o
- % <userinput>scons -c</userinput>
+ % <userinput>scons -Q -c</userinput>
Removed hello.o
Removed hello
- % <userinput>scons</userinput>
+ % <userinput>scons -Q</userinput>
Retrieved `hello.o' from cache
Retrieved `hello' from cache
- % <userinput>scons -c</userinput>
+ % <userinput>scons -Q -c</userinput>
Removed hello.o
Removed hello
- % <userinput>scons --cache-disable</userinput>
- cc -c hello.c -o hello.o
+ % <userinput>scons -Q --cache-disable</userinput>
+ cc -c -o hello.o hello.c
cc -o hello hello.o
- %
</literallayout>
</section>
@@ -230,23 +227,23 @@
</para>
<literallayout>
- % <userinput>scons --cache-disable</userinput>
- cc -c hello.c -o hello.o
+ % <userinput>scons -Q --cache-disable</userinput>
+ cc -c -o hello.o hello.c
cc -o hello hello.o
- % <userinput>scons -c</userinput>
+ % <userinput>scons -Q -c</userinput>
Removed hello.o
Removed hello
- % <userinput>scons --cache-disable</userinput>
- cc -c hello.c -o hello.o
+ % <userinput>scons -Q --cache-disable</userinput>
+ cc -c -o hello.o hello.c
cc -o hello hello.o
- % <userinput>scons --cache-force</userinput>
- % <userinput>scons -c</userinput>
+ % <userinput>scons -Q --cache-force</userinput>
+ scons: `.' is up to date.
+ % <userinput>scons -Q -c</userinput>
Removed hello.o
Removed hello
- % <userinput>scons</userinput>
+ % <userinput>scons -Q</userinput>
Retrieved `hello.o' from cache
Retrieved `hello' from cache
- %
</literallayout>
<para>