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=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 8545CBBAF for ; Tue, 22 Jul 2008 11:16:15 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkADADBChUhQDPIaWmdsb2JhbACSPQEWAwgGEgWdJQ X-IronPort-AV: E=Sophos;i="4.31,230,1215381600"; d="scan'208";a="15371166" Received: from smtp20.orange.fr ([80.12.242.26]) by mail1-smtp-roc.national.inria.fr with ESMTP; 22 Jul 2008 11:16:15 +0200 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2028.orange.fr (SMTP Server) with ESMTP id EA1E31C00095; Tue, 22 Jul 2008 11:16:14 +0200 (CEST) Received: from [192.168.1.66] (APuteaux-154-1-65-47.w81-249.abo.wanadoo.fr [81.249.48.47]) by mwinf2028.orange.fr (SMTP Server) with ESMTP id AB0671C0009B; Tue, 22 Jul 2008 11:16:14 +0200 (CEST) X-ME-UUID: 20080722091614700.AB0671C0009B@mwinf2028.orange.fr Message-ID: <4885A55E.2070302@frisch.fr> Date: Tue, 22 Jul 2008 11:16:14 +0200 From: Alain Frisch User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Jonathan Marchand Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Compiling a shared library with amd64 References: <9a3dee4b0807220208v6f81dda5m8ad3802ec266977c@mail.gmail.com> In-Reply-To: <9a3dee4b0807220208v6f81dda5m8ad3802ec266977c@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; frisch:01 frisch:01 ocaml:01 ocaml:01 tarball:01 -fpic:01 cvs:01 ocamlopt:01 marchand:98 wrote:01 compile:01 caml-list:01 alain:01 alain:01 compiling:02 Jonathan Marchand wrote: > But I still have issues with the ocaml libraries. I don't know how to > compile the standard library from the ocaml tarball with -fPIC. You should try the current CVS version of OCaml. Under AMD64, ocamlopt now produces PIC code by default. -- Alain