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.2 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 33F14BB84 for ; Tue, 26 Aug 2008 09:39:50 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmQFAAxQs0hQW+UCgWdsb2JhbACSLQEBECAESQMBAaNegWs X-IronPort-AV: E=Sophos;i="4.32,269,1217800800"; d="scan'208";a="16279053" Received: from discorde.inria.fr ([192.93.2.38]) by mail3-smtp-sop.national.inria.fr with ESMTP; 26 Aug 2008 09:39:50 +0200 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m7Q7dmYD018187 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Tue, 26 Aug 2008 09:39:49 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmQFAAxQs0hQW+UCgWdsb2JhbACSLQEBECAESQMBAaNegWs X-IronPort-AV: E=Sophos;i="4.32,269,1217800800"; d="scan'208";a="16279044" Received: from main.gmane.org (HELO ciao.gmane.org) ([80.91.229.2]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES256-SHA; 26 Aug 2008 09:39:42 +0200 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KXt9O-0002i2-IV for caml-list@inria.fr; Tue, 26 Aug 2008 07:39:38 +0000 Received: from ks300734.kimsufi.com ([91.121.65.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Aug 2008 07:39:38 +0000 Received: from sylvain by ks300734.kimsufi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Aug 2008 07:39:38 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Subject: Re: Multiple compiler installs Date: Tue, 26 Aug 2008 07:39:30 +0000 (UTC) Message-ID: References: <20080825223200.GA12080@annexia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ks300734.kimsufi.com User-Agent: slrn/pre0.9.9-102 (Linux) Sender: news X-Miltered: at discorde with ID 48B3B344.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; le-gall:01 compiler:01 compiler:01 libs:01 findlib:01 libs:01 cvs:01 usr:01 ocaml:01 usr:01 ocaml:01 ocaml-:01 wrote:01 compilers:01 bin:01 Hello, On 25-08-2008, Richard Jones wrote: > > A question for other distributors: Has anyone at any time come up with > a reasonable scheme for installing multiple versions of the compilers/ > libraries alongside each other? > I have maintained, for sometimes, 4 to 5 five compiler + a minimal set of libs (oUnit, benchmark, sexplib, findlib) on Windows. It works great but the compiler/libs where installed in different directories. Switching from one compiler to another require changing the PATH variable. This scheme is possible to install 1 official compiler (i.e. debian package) along specific other compiler (CVS version...). For example, you can have /usr/bin/ocaml and /usr/local/ocaml311/bin/ocaml. Adding /usr/local/ocaml311/bin is enough to switch between compiler. Using more advanced scheme is possible but I think you will have a problem of non uniform build script. There is always a build script that doesn't allow you to change /usr/bin/ocaml to /usr/bin/ocaml-3.10.2. Regards, Sylvain Le Gall