git.annexia.org
/
ocaml-bitstring.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5ef09aa
)
Fixed 'compiling' documentation.
author
Richard W.M. Jones
<rich@annexia.org>
Wed, 2 Apr 2008 13:59:37 +0000
(13:59 +0000)
committer
Richard W.M. Jones
<rich@annexia.org>
Wed, 2 Apr 2008 13:59:37 +0000
(13:59 +0000)
bitmatch.mli
patch
|
blob
|
history
diff --git
a/bitmatch.mli
b/bitmatch.mli
index
b909aab
..
9a38808
100644
(file)
--- a/
bitmatch.mli
+++ b/
bitmatch.mli
@@
-15,7
+15,7
@@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
- * $Id: bitmatch.mli,v 1.1
1 2008-04-02 13:22:0
7 rjones Exp $
+ * $Id: bitmatch.mli,v 1.1
2 2008-04-02 13:59:3
7 rjones Exp $
*)
(**
*)
(**
@@
-406,13
+406,17
@@
Bitmatch.hexdump_bitstring stdout bits ;;
Using the compiler directly you can do:
{v
Using the compiler directly you can do:
{v
- ocamlc -I bitmatch -pp "camlp4o -I bitmatch pa_bitmatch.cmo" foo.ml -o foo
+ ocamlc -I +bitmatch \
+ -pp "camlp4o `ocamlc -where`/bitmatch/pa_bitmatch.cmo" \
+ bitmatch.cma test.ml -o test
v}
v}
-
U
sing findlib:
+
Simpler method u
sing findlib:
{v
{v
- ocamlfind ocamlc -package bitmatch.syntax -linkpkg foo.ml -o foo
+ ocamlfind ocamlc \
+ -package bitmatch.syntax -syntax bitmatch.syntax \
+ -linkpkg test.ml -o test
v}
{2 Security and type safety}
v}
{2 Security and type safety}