[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | altavillasalvatore@libero.it <altavillasalvatore@l...> |
| Subject: | [Caml-list] compilation_problem |
Hi,
I would want to compile the pascal.ml file:
****
pascal.ml
open Unix
let my_name =Unix.gethostname();;
******
I type
ocamlc -custom unix.cma pascal.ml -cclib -lunix
and then
ocamlc pascal.ml -o pascal
obtaining the following message:
Reference to undefined global `Unix'
I would want the exec -file.
Regards.
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners