Demo doesn't work with Ocaml 4.11.1
Closed this issue · 1 comments
dmorganb commented
Hi, I don't know if this still active or not, but I wanted to give it a try because I'm working on something that could use the functionality provided by yacfe.
I installed ocaml 4.11.1 and followed the instructions, however when I tried to run the demo:
cd demos/
$ ocamlc -I ../commons -I ../pl_info -I ../parsing_c str.cma bigarray.cma unix.cma ../commons/commons.cma ../pl_info/code_info.cma ../parsing_c/parsing_c.cma simple_zero_to_null.ml -o zero_to_null.byte
$ ./zero_to_null.byte foo.c
$ cat /tmp/modified.c
I didn't do anything.
I'm not familiar (yet) with ocaml so, I don't know if there is an specific version required for this, or if I'm missing something else.
dmorganb commented
nvm, just copying the demo code to the issue I noticed I didn't run this step:
$ ./zero_to_null.byte foo.c
I can confirm it works with ocaml 4.11.1 I guess :p