caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Sys.getenv does not work under OS X?
@ 2008-09-11 12:51 Alan Schmitt
  2008-09-11 12:54 ` [Caml-list] " Christian Sternagel
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alan Schmitt @ 2008-09-11 12:51 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 479 bytes --]

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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 186 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-09-11 14:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-11 12:51 Sys.getenv does not work under OS X? Alan Schmitt
2008-09-11 12:54 ` [Caml-list] " Christian Sternagel
2008-09-11 12:58 ` Nicolas Pouillard
2008-09-11 14:22 ` Eric Cooper
2008-09-11 14:42   ` Alan Schmitt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).