Version franaise
Home About Download Resources Contact us
Browse thread
Distinguish between osx and linux programmatically
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] Distinguish between osx and linux programmatically
On Thu, Jul 8, 2010 at 12:23 PM, Richard Jones <rich@annexia.org> wrote:

> How about running the external "uname" program.

Yes, why not. I was hoping that I wouldn't have to resort to that kind
of hacks, that I was missing a function using uname(3) directly.

On Thu, Jul 8, 2010 at 12:48 PM, Alex <alex.mailinglist@gmx.net> wrote:

> please note, that it's not the runtime configuration
> but the system configuration at compile time of your
> ocaml distribution.

Yes, in fact so is Sys.os_type

Thanks for your answers,

Daniel