[ns] recompile ns

stan lee stan2_@hotmail.com
Sat Apr 27 05:16:07 2002


<html><div style='background-color:'><DIV>Hi,</DIV>
<DIV>&nbsp;&nbsp;&nbsp; I dun actually understand what is the meaning of make, remake.. and also make depend...?? what are the difference between them? </DIV>
<DIV>I know to make, we use this command : nmake /I /f makefile.vc (in window )</DIV>
<DIV>but how about to remake and make depend ?? what are the commands that should be used in window?</DIV>
<DIV>Can you make it clearer?? thanks</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>&nbsp;Stan</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;From: John Heidemann <JOHNH@ISI.EDU>
<DIV></DIV>&gt;To: Debojyoti Dutta <DDUTTA@ISI.EDU>
<DIV></DIV>&gt;CC: hao wang <HAOW@ECE.UBC.CA>, ns-users@ISI.EDU 
<DIV></DIV>&gt;Subject: Re: [ns] recompile ns 
<DIV></DIV>&gt;Date: Fri, 26 Apr 2002 13:12:38 -0700 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;On Thu, 25 Apr 2002 16:06:26 PDT, Debojyoti Dutta wrote: 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt;if you change the tcl file, you need to re make .... make will decide what 
<DIV></DIV>&gt; &gt;to compile etc. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;WAIT... it depends on which tcl file you change. 
<DIV></DIV>&gt;If it's something that's compiled in to ns, you need to recompile ns 
<DIV></DIV>&gt;(i.e., if its text ends up in gen/*.cc). 
<DIV></DIV>&gt;If it's just a scenario file, you don't need to recompile. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; -John Heidemann 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt;debo 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt;On Thu, 25 Apr 2002, hao wang wrote: 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; &gt;&gt; 
<DIV></DIV>&gt; &gt;&gt; Hello there, 
<DIV></DIV>&gt; &gt;&gt; 
<DIV></DIV>&gt; &gt;&gt; I know that after making changes to the .cc source files of ns we need to 
<DIV></DIV>&gt; &gt;&gt; recompile ns, but what about the .tcl files. Do I need to do the same 
<DIV></DIV>&gt; &gt;&gt; thing. 
<DIV></DIV>&gt; &gt;&gt; 
<DIV></DIV>&gt; &gt;&gt; Thanks, 
<DIV></DIV>&gt; &gt;&gt; 
<DIV></DIV>&gt; &gt;&gt; Hao 
<DIV></DIV>&gt; &gt;&gt; 
<DIV></DIV>&gt; &gt;&gt; 
<DIV></DIV>&gt; &gt;&gt; 
<DIV></DIV>&gt; &gt; 
<DIV></DIV>&gt; </DIV></div><br clear=all><hr>Join the world’s largest e-mail service with MSN Hotmail. <a href='http://g.msn.com/1HM103801/44'>Click Here</a><br></html>