Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137445612
D4678.id11572.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D4678.id11572.diff
View Options
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 > .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
File Metadata
Details
Attached
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)
Attached To
Mode
D4678: update Chapter 2 ,Make section of the Developers' Handbook
Attached
Detach File
Event Timeline
Log In to Comment