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
getting the system architecture
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-08-02 (23:09)
From: Eric Merritt <cyberlync@g...>
Subject: getting the system architecture

 Is there anyway to get the system architecture natively in ocaml? I
found Sys.os_type but have yet to find anything comparable for the
architecture. The alternative is to build out a function to get this
info in C but I would rather not complicate my build (or code in C ;)