[
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: | Sven Luther <luther@l...> |
| Subject: | Re: [Caml-list] version of Ocaml... |
On Tue, Jun 18, 2002 at 11:26:21AM +0200, Basile STARYNKEVITCH wrote:
> Dear All Ocamlers,
>
> Is there a programmatic way to get the used version of Ocaml? I am
> missing a
>
> val version: string
>
> in stdlib/sys.mli
you can use :
val version: string
(* The current version number of the system *)
from utils/config.mli, which contain various other usefull stuff.
You would need to link in the utils/config.ml file yourself though, and
it is not standardly installed when ocaml is built, so you would need to
install it yourself by hand, if i am not mistaken.
Friendly,
Sven Luther
-------------------
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