Page MenuHomeFreeBSD

D4678.id11572.diff
No OneTemporary

D4678.id11572.diff

Index: /home/raycherng/doc/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml
===================================================================
--- /home/raycherng/doc/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml
+++ /home/raycherng/doc/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml
@@ -1177,7 +1177,7 @@
pain to keep track of all include files and the files which
are depending on it. If you change an include-file but
forget to recompile all the files which are depending on
- it, the results will be devastating. <command>gcc</command>
+ it, the results will be devastating. <command>cc</command>
has an option to analyze your files and to produce a list
of include-files and their dependencies: <option>-MM</option>.
</para>
@@ -1185,7 +1185,7 @@
<para>If you add this to your Makefile:</para>
<programlisting>depend:
- gcc -E -MM *.c &gt; .depend</programlisting>
+ cc -E -MM *.c &gt; .depend</programlisting>
<para>and run <userinput>make depend</userinput>, the file
<filename>.depend</filename> will appear with a list of

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 24, 1:12 PM (7 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26061454
Default Alt Text
D4678.id11572.diff (1 KB)

Event Timeline