Page MenuHomeFreeBSD

D4678.diff
No OneTemporary

D4678.diff

Index: head/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml
===================================================================
--- head/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml
+++ head/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>clang</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
Sat, Feb 7, 3:41 PM (10 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28457139
Default Alt Text
D4678.diff (1 KB)

Event Timeline