Re: [CIL users] Error: CIL_MACHINE environment variable is not set

2012-04-27 Thread Vinai Sundaram
The CIL_MACHINE variable defines the size of variables used by the architecture you are compiling for. For avr architectures, I use the following. CIL_MACHINE="bool=1,1 short=2,1 int=2,1 long=4,1 long_long=8,1 float=4,1 double=4,1 long_double=4,1 void=1 pointer=2,1 enum=2,1 fun=1,1 alignof_str

[CIL users] Error: CIL_MACHINE environment variable is not set

2012-04-27 Thread Lipeng Wan
Hi guys, I am trying to use CIL to instrument C code generated by nesC compiler, but when I run this command: cilly --gcc=avr-gcc --envmachine -mmcu=atmega128 -Os -Wall --save-temps=tmp/ --noPrintLn --dotinytracersimple -g --nescconfigs=oscil.config --tracerfuncs=CFTracerC__CFTrace__recordLabel -