Version franaise
Home About Download Resources Contact us

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2010-07-08 (15:42)
From: Romain Beauxis <toots@r...>
Subject: Re: [Caml-list] Distinguish between osx and linux programmatically
Le jeudi 8 juillet 2010 06:44:34, Richard Jones a crit :
> Stdlib could bind the uname(2) syscall, but it's legendary in its
> complexity.  Seems more likely to cause problems than just calling out
> to the external program.

I fail to see the complexity.. Where is it ?

Such a function would also be useful for cross-compiling, I think..