[CIL users] doepicenter option not working

2011-01-14 Thread Vijayaraghavan Murali
Hello everyone, I'm new to this list and I just obtained CIL. For our research which uses compositional reasoning, we need a tool to extract out each function individually from a C program (including global declarations like variables, structs and typedefs) and analyze it. CIL's doepicenter featu

Re: [CIL users] Compiling CIL on Debian, -lstr

2011-01-14 Thread Guillaume Yziquel
Le Friday 14 Jan 2011 à 18:34:19 (+0100), Gabriel Kerneis a écrit : > On Fri, Jan 14, 2011 at 05:54:05PM +0100, Guillaume Yziquel wrote: > > I've been trying to compile CIL and CPC on my Debian Linux box. OCaml > > distribution is the one from Stéphane Glondu's 3.12 repo. Below's the > > compilatio

Re: [CIL users] Compiling CIL on Debian, -lstr

2011-01-14 Thread Gabriel Kerneis
On Fri, Jan 14, 2011 at 06:36:49PM +0100, Gabriel Kerneis wrote: > Hmmm, looking at your prompt, it looks like you are trying to compile > CPC rather than CIL. Is this the case? Did you fetch latest git > version? Which branch? FWIW, I just tried to install ocaml-3.12 from Stéphane's repository

Re: [CIL users] Unable to Install CIL on Windows 7 Cygwin

2011-01-14 Thread Gabriel Kerneis
On Fri, Jan 14, 2011 at 05:29:39PM +0100, Gabriel Kerneis wrote: > - upgrade cil AND ocamlutil to latest SVN (r12118 at least) Ahem, r12120 actually, I forgot some configure magic. -- Gabriel -- Protect Your Site and Cus

Re: [CIL users] Compiling CIL on Debian, -lstr

2011-01-14 Thread Gabriel Kerneis
On Fri, Jan 14, 2011 at 06:34:19PM +0100, Gabriel Kerneis wrote: > Try to fetch latest version from svn (as mentionned recently on this > list). Take care to fetch ocamlutil separately, since the svn:external > is broken (it will ask you some password and deny access). Hmmm, looking at your promp

Re: [CIL users] Compiling CIL on Debian, -lstr

2011-01-14 Thread Gabriel Kerneis
On Fri, Jan 14, 2011 at 05:54:05PM +0100, Guillaume Yziquel wrote: > I've been trying to compile CIL and CPC on my Debian Linux box. OCaml > distribution is the one from Stéphane Glondu's 3.12 repo. Below's the > compilation output. > > It clearly stumbles on the -lstr linking. Could not find on m

[CIL users] Compiling CIL on Debian, -lstr

2011-01-14 Thread Guillaume Yziquel
Hi. I've been trying to compile CIL and CPC on my Debian Linux box. OCaml distribution is the one from Stéphane Glondu's 3.12 repo. Below's the compilation output. It clearly stumbles on the -lstr linking. Could not find on my Debian box, except when looking into the mingw cross-compiling libs. T

Re: [CIL users] Unable to Install CIL on Windows 7 Cygwin

2011-01-14 Thread Gabriel Kerneis
Dear Jonathan, On Sat, Jan 08, 2011 at 09:19:59AM -0800, Jonathan Kotker wrote: > Thanks for the advice. It seems like the Ocaml interpreter installed on my > system was using "flexdll" instead of gcc to do the linking, and "flexdll" > did not understand the "-g" flag. Based on advice provided h

Re: [CIL users] Switch statement transformation

2011-01-14 Thread Elnatan Reisner
On Jan 14, 2011, at 10:18 AM, Gabriel Kerneis wrote: > Dear Elnatan, > > Thank you very much for your patches. I tested them, but I have some > questions before I push them upstream. Please see below. > > On Fri, Jan 07, 2011 at 12:16:17AM -0500, Elnatan Reisner wrote: >> Finally, since I was pl

Re: [CIL users] Switch statement transformation

2011-01-14 Thread Gabriel Kerneis
Dear Elnatan, Thank you very much for your patches. I tested them, but I have some questions before I push them upstream. Please see below. On Fri, Jan 07, 2011 at 12:16:17AM -0500, Elnatan Reisner wrote: > One patch, switch_default_ordering.patch, fixes an actual bug > (although I suppose it n