[Tinyos-2-commits] CVS: tinyos-2.x/tools/tinyos/ncc ncc.in,1.5,1.6

John Regehr regehr at users.sourceforge.net
Tue Feb 19 08:57:02 PST 2008


Update of /cvsroot/tinyos/tinyos-2.x/tools/tinyos/ncc
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv24144

Modified Files:
	ncc.in 
Log Message:
bugfix from Mustafa Yuecel

Index: ncc.in
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tools/tinyos/ncc/ncc.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** ncc.in	16 Feb 2008 05:23:47 -0000	1.5
--- ncc.in	19 Feb 2008 16:57:00 -0000	1.6
***************
*** 144,148 ****
  my $gcc;
  
! my $safe_home = $ENV{'TOSDIR'}."/lib/safe";
  push @new_args, "-fnesc-include=${safe_home}/include/annots_stage1";
  push @new_args, "-fnesc-genprefix=#include \"${safe_home}/include/annots_stage2.h\"";
--- 144,148 ----
  my $gcc;
  
! my $safe_home = $TOSDIR."/lib/safe";
  push @new_args, "-fnesc-include=${safe_home}/include/annots_stage1";
  push @new_args, "-fnesc-genprefix=#include \"${safe_home}/include/annots_stage2.h\"";
***************
*** 335,338 ****
--- 335,339 ----
  
  if ($safe) {
+ 
      # nescc runs and puts in annotations like COUNT etc... 
      system(@new_args)==0 or die "Couldn't execute nescc\n";



More information about the Tinyos-2-commits mailing list