From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id CD8EFBB91 for ; Sat, 23 Jul 2005 07:38:19 +0200 (CEST) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.201]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j6N5cJJD023690 for ; Sat, 23 Jul 2005 07:38:19 +0200 Received: by rproxy.gmail.com with SMTP id a36so678545rnf for ; Fri, 22 Jul 2005 22:38:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FPaHAnwPSXxp4DCrVFEHI2INHMLZukhpatbxI0XGP7Voe2pu/vBYk2J/l6AelJCaQM8d0Hd5ckRpXLmdCrc8nj/Sf0RKTQzOmuU9rAPtD0LKlKmOBlTOSg61wUraL92l9EUEKrK4f+io9O7cqTFLmyXiqUYugXQapsDj2CKQgeI= Received: by 10.38.92.16 with SMTP id p16mr309330rnb; Fri, 22 Jul 2005 22:38:18 -0700 (PDT) Received: by 10.38.209.44 with HTTP; Fri, 22 Jul 2005 22:38:18 -0700 (PDT) Message-ID: Date: Sat, 23 Jul 2005 17:38:18 +1200 From: Jonathan Roewen Reply-To: Jonathan Roewen To: Damien Bobillot Subject: Re: [Caml-list] Creating nativecode apps Cc: caml-list@yquem.inria.fr In-Reply-To: <92AD4A03-A3FA-4725-97B7-3355C057401D@m4x.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <92AD4A03-A3FA-4725-97B7-3355C057401D@m4x.org> X-Miltered: at nez-perce with ID 42E1D7CB.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 nativecode:01 ocamlopt:01 ocamlc:01 ocamlopt:01 ocaml:01 cmx:01 cmx:01 cmxa:01 rephrase:01 ocaml:01 compilers:01 compiler:01 -output-obj:01 compilers:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 > ocamlopt work exactly the same way ocamlc does. >=20 > "ocamlopt -c file.ml" to compile one ocaml source (you'll get a > file.cmx and a file.o files) >=20 > "ocamlopt -o test file.cmx alib.cmxa" to link the executable against > the alib library. Let me rephrase. What do the ocaml compilers need a C compiler for? And, if I use -output-obj, is the object file created solely by the ocaml compilers, or does this depend on a C compiler? Jonathan