svn commit: r47902 - head/en_US.ISO8859-1/books/developers-handbook/tools
Kevin Lo <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.doc |
|---|---|
| Message-ID | <[email protected]> |
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 > .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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"