Coccinelle release 1.0.0-rc1
[bpt/coccinelle.git] / readme.txt
index d75d5fa..8a50449 100644 (file)
@@ -18,17 +18,18 @@ For tcsh do:
 
   $ source env.csh 
 
+You can then test coccinelle with:
+
+  $ spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c
 
 
-You can then test coccinelle with:
 
-  $ spatch -sp_file demos/simple.cocci demos/simple.c
 
 If you downloaded the bytecode version of spatch you may first 
 have to install OCaml (which contains the 'ocamlrun' bytecode interpreter,
 the equivalent of 'java', the Java virtual machine, but for OCaml) and then do:
 
-  $ ocamlrun spatch -sp_file demos/simple.cocci demos/simple.c
+  $ ocamlrun spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c
 
 
 
@@ -37,3 +38,8 @@ files in the docs/ directory. You may need to install the texlive-fonts-extra
 packages from your distribution to compile some of the LaTeX documentation
 files.
 
+ ** Runtime dependencies under Debian/Ubuntu**
+
+ - For the OCaml scripting feature in SmPL
+       ocaml-native-compilers
+     or ocaml-nox