English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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..