File: README.Debian

package info (click to toggle)
ounit 2.2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 716 kB
  • sloc: ml: 5,895; makefile: 75; javascript: 59; ansic: 9
file content (20 lines) | stat: -rw-r--r-- 499 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
ounit for Debian
----------------

To build a module using OUnit, use a command like this:

ocamlfind ocamlc -package oUnit -c -o foo.cmo foo.ml

To link an application that uses OUnit:

ocamlfind ocamlc -package oUnit unix.cma oUnit.cma -o app file.cmo

For native code, the commands are:

ocamlfind ocamlopt -package oUnit -c -o foo.cmx foo.ml

and:

ocamlfind ocamlopt -package oUnit unix.cmxa oUnit.cmxa -o app file.cmx

 -- John Goerzen <jgoerzen@complete.org>, Thu, 11 Mar 2004 19:28:36 -0600