Browse thread
Sys.getenv does not work under OS X?
- Alan Schmitt
[
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: | Alan Schmitt <alan.schmitt@p...> |
| Subject: | Sys.getenv does not work under OS X? |
Hello,
I'm using OS X (Leopard, up to date), with ocaml 3.10.2 (compiled with
godi), and I was trying to use htmlc which fails for some reason. it
boils down to the following:
schmitta@charm compiler % echo $HOST
charm.inrialpes.fr
schmitta@charm compiler % ledit ocaml
Objective Caml version 3.10.2
# Sys.getenv "$HOST";;
Exception: Not_found.
# Sys.getenv "HOST";;
Exception: Not_found.
Is Sys.getenv supposed to work under OS X?
Thanks a lot,
Alan Schmitt