From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 61503BC69 for ; Fri, 3 Aug 2007 01:09:17 +0200 (CEST) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l72N9GHK005945 for ; Fri, 3 Aug 2007 01:09:17 +0200 Received: by an-out-0708.google.com with SMTP id c24so117517ana for ; Thu, 02 Aug 2007 16:09:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UYjXd/yr33aNU/ROZe2OaD4T/0JGbfsmi9l0OsMRZzruH9SekLBtB14MWH1miIok7dNAmMnYOs7N7rfUU9G+kPL9otLWmcRU543WtXrZmkEY5gL5JE+CllZnu4abnXi1kVgNeNHUghFFP7xiDhoUr3XMshxQR4IimDHRiOc8ri4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WzXFvClE/iiewWkD7R4tHpPRn0fCxBG/d9gFBs29AjoiwBGvW4UYm6UFAhpC0RlJo5Ks5PDiT/GpOI4xUHlEKyhwBWIsBbCPe9xRP63KO21i2nJ6mhp8XvMBZzWSuJm+UkDilTnkN7ptx3rAlYEkHcC/OPzEnwI4UyOoK+ctdCk= Received: by 10.100.10.20 with SMTP id 20mr1406228anj.1186096155867; Thu, 02 Aug 2007 16:09:15 -0700 (PDT) Received: by 10.100.168.4 with HTTP; Thu, 2 Aug 2007 16:09:15 -0700 (PDT) Message-ID: Date: Thu, 2 Aug 2007 16:09:15 -0700 From: "Eric Merritt" To: caml-list@inria.fr Subject: getting the system architecture MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-j-chkmail-Score: MSGID : 46B2641C.001 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 46B2641C.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 merritt:02 sys:03 anyway:05 comparable:06 natively:07 function:08 cyberlync:08 rather:08 complicate:11 yet:12 build:13 build:13 type:14 but:14 Guys, 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 ;) Thanks, Eric