Re: [问题] compile NachOS

楼主: timTan (用口头禅区分年记)   2008-10-27 16:17:59
※ 引述《roger00 (Stage Column(?))》之铭言:
: 请问助教为什么要先打 make depend
: 再打 make 呢?
: 谢谢助教回答!
make file 里面第1百行有解说 make depend 的作用。
== 内容如下.
100 # - IF all you have done is changed C++ code in existing files
101 # (since the last time you made Nachos in this build directory),
102 # THEN all you need to do to re-make Nachos is to type
103 #
104 # "make nachos"
105 #
106 # in the build directory.
107 #
108 # - IF you have done any of the following since the last build in
109 # this directory:
110 # added new .cc files or new .h files
111 # added or deleted #include's from existing files
112 # THEN
113 # you must do
114 # "make depend"
115 # followed by
116 # "make nachos"
117 #
118 # in the build directory.
120 # Note that is is always safe to do "make depend" followed by
121 # "make nachos", so if you are not sure what changes you have
122 # made, do "make depend".
作者: roger00 (Stage Column(?))   0000-00-00 00:00:00
谢谢你的回答!!

Links booklink

Contact Us: admin [ a t ] ucptt.com