Fix documentation for how to compile using camlp4 directly.
[ocaml-bitstring.git] / bitmatch.mli
index 5628eb6..ba1264a 100644 (file)
@@ -453,16 +453,16 @@ bitmatch bits with
 
    {v
    ocamlc -I +bitmatch \
-     -pp "camlp4o bitmatch.cma bitmatch_persistent.cma \
+     -pp "camlp4of bitmatch.cma bitmatch_persistent.cma \
             `ocamlc -where`/bitmatch/pa_bitmatch.cmo" \
-     bitmatch.cma test.ml -o test
+     unix.cma bitmatch.cma test.ml -o test
    v}
 
    Simpler method using findlib:
 
    {v
    ocamlfind ocamlc \
-     -package bitmatch.syntax -syntax bitmatch.syntax \
+     -package bitmatch,bitmatch.syntax -syntax bitmatch.syntax \
      -linkpkg test.ml -o test
    v}