Permalink
Browse files

GitHubified README

  • Loading branch information...
1 parent 98ce206 commit f6c6c26488a0b5e3a52f294611d9a37e9e1a14e5 @vlm vlm committed Aug 27, 2011
Showing with 6 additions and 3 deletions.
  1. +6 −3 README.md
View
@@ -33,11 +33,14 @@ let port_command_dispatcher old_value = function
ErlangPort.erlang_port_interact_with_key port_command_dispatcher None
```
+To compile the code above run:
+ $ cd examples/
+ $ ocamlfind ocamlopt -package ocaml-erlang-port -linkpkg -o port_sample port_sample.ml
+
### Erlang
-First, make sure you have [mavg](https://github.com/EchoTeam/mavg) package
-installed, as it is required for `portserver.erl`. Then use
-`portserver.erl` to manage connection to ./port_sample.
+Make sure you have [mavg](https://github.com/EchoTeam/mavg) package
+installed. Then launch the `port_sample` binary using `portserver.erl`.
1> c(portserver).
{ok,portserver}

0 comments on commit f6c6c26

Please sign in to comment.