caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Multiple compiler installs
@ 2008-08-25 22:32 Richard Jones
  2008-08-26  7:39 ` Sylvain Le Gall
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Jones @ 2008-08-25 22:32 UTC (permalink / raw)
  To: caml-list


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?

Rich.

-- 
Richard Jones
Red Hat


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Multiple compiler installs
  2008-08-25 22:32 Multiple compiler installs Richard Jones
@ 2008-08-26  7:39 ` Sylvain Le Gall
  0 siblings, 0 replies; 2+ messages in thread
From: Sylvain Le Gall @ 2008-08-26  7:39 UTC (permalink / raw)
  To: caml-list

Hello,

On 25-08-2008, Richard Jones <rich@annexia.org> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-26  7:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-25 22:32 Multiple compiler installs Richard Jones
2008-08-26  7:39 ` Sylvain Le Gall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).