Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2015 06:17:20 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r47902 - head/en_US.ISO8859-1/books/developers-handbook/tools
Message-ID:  <201512230617.tBN6HKku014260@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo (src,ports committer)
Date: Wed Dec 23 06:17:19 2015
New Revision: 47902
URL: https://svnweb.freebsd.org/changeset/doc/47902

Log:
  Replace gcc with clang to keep consistent with section 2.5.1
  
  Submitted by:	Ruey-Cherng Yu <raycherng at gmail.com>
  Differential Revision:	https://reviews.freebsd.org/D4678

Modified:
  head/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml

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>.
       </para>
@@ -1185,7 +1185,7 @@ int main(....</programlisting>
       <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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512230617.tBN6HKku014260>