svn commit: r47902 - head/en_US.ISO8859-1/books/developers-handbook/tools

Kevin Lo kevlo at
Wed Dec 23 06:17:21 UTC 2015

Author: kevlo (src,ports committer)
Date: Wed Dec 23 06:17:19 2015
New Revision: 47902

  Replace gcc with clang to keep consistent with section 2.5.1
  Submitted by:	Ruey-Cherng Yu <raycherng at>
  Differential Revision:


Modified: head/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml
--- head/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml	Tue Dec 22 14:53:11 2015	(r47901)
+++ head/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml	Wed Dec 23 06:17:19 2015	(r47902)
@@ -1177,7 +1177,7 @@ int main(....</programlisting>
 	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>.
@@ -1185,7 +1185,7 @@ int main(....</programlisting>
       <para>If you add this to your Makefile:</para>
-	gcc -E -MM *.c > .depend</programlisting>
+	cc -E -MM *.c > .depend</programlisting>
       <para>and run <userinput>make depend</userinput>, the file
 	<filename>.depend</filename> will appear with a list of

More information about the svn-doc-all mailing list