caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re:  [Caml-list] version of Ocaml...
@ 2002-06-18 11:37 Damien Doligez
  2002-06-19 14:53 ` John Max Skaller
  0 siblings, 1 reply; 4+ messages in thread
From: Damien Doligez @ 2002-06-18 11:37 UTC (permalink / raw)
  To: basile.starynkevitch, caml-list

>From: Basile STARYNKEVITCH <basile.starynkevitch@cea.fr>

>  val version: string

It is in the CVS version (ocaml_version in stdlib/sys.mli).

>Apparently, to try the latest CVS I have to recompile all the
>extra libraries I've already installed (eg ocamlnet)

Unfortunately, I don't think there is any solution to this problem.

-- Damien
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


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

* Re: [Caml-list] version of Ocaml...
  2002-06-18 11:37 [Caml-list] version of Ocaml Damien Doligez
@ 2002-06-19 14:53 ` John Max Skaller
  0 siblings, 0 replies; 4+ messages in thread
From: John Max Skaller @ 2002-06-19 14:53 UTC (permalink / raw)
  To: Damien Doligez; +Cc: basile.starynkevitch, caml-list

Damien Doligez wrote:

>>Apparently, to try the latest CVS I have to recompile all the
>>extra libraries I've already installed (eg ocamlnet)
>>
>
>Unfortunately, I don't think there is any solution to this problem.
>
Sure there is. You define ocaml as a scripting language.
Just like Python. Then, you compile files that need compilation
as required, automatically.  I bet this can be done with a small tool
which is an extension of 'ocamldep'.

-- 
John Max Skaller, mailto:skaller@ozemail.com.au
snail:10/1 Toxteth Rd, Glebe, NSW 2037, Australia.
voice:61-2-9660-0850




-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


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

* Re: [Caml-list] version of Ocaml...
  2002-06-18  9:26 Basile STARYNKEVITCH
@ 2002-06-18 10:05 ` Sven Luther
  0 siblings, 0 replies; 4+ messages in thread
From: Sven Luther @ 2002-06-18 10:05 UTC (permalink / raw)
  To: Basile STARYNKEVITCH; +Cc: caml-list

On Tue, Jun 18, 2002 at 11:26:21AM +0200, Basile STARYNKEVITCH wrote:
> Dear All Ocamlers,
> 
> Is there a programmatic way to get the used version of Ocaml? I am
> missing a
> 
>   val version: string
> 
> in stdlib/sys.mli

you can use :

val version: string
        (* The current version number of the system *)

from utils/config.mli, which contain various other usefull stuff.

You would need to link in the utils/config.ml file yourself though, and
it is not standardly installed when ocaml is built, so you would need to
install it yourself by hand, if i am not mistaken.

Friendly,

Sven Luther
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


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

* [Caml-list] version of Ocaml...
@ 2002-06-18  9:26 Basile STARYNKEVITCH
  2002-06-18 10:05 ` Sven Luther
  0 siblings, 1 reply; 4+ messages in thread
From: Basile STARYNKEVITCH @ 2002-06-18  9:26 UTC (permalink / raw)
  To: caml-list

Dear All Ocamlers,

Is there a programmatic way to get the used version of Ocaml? I am
missing a

  val version: string

in stdlib/sys.mli

Also, it seems that every piece of Ocaml code linked together has to
be compiled with exactly the same version of ocaml. This means that
(for example) I cannot try the latest CVS of ocaml while using
ocamlfind and extra libraries installed in the system
places. Apparently, to try the latest CVS I have to recompile all the
extra libraries I've already installed (eg ocamlnet)

Regards.

N.B. Any opinions expressed here are only mine, and not of my organization.
N.B. Les opinions exprimees ici me sont personnelles et n engagent pas le CEA.

---------------------------------------------------------------------
Basile STARYNKEVITCH   ----  Commissariat à l Energie Atomique * France
DRT/LIST/DTSI/SLA * CEA/Saclay b.528 (p111f) * 91191 GIF/YVETTE CEDEX 
phone:+33 1,6908.6055; fax: 1,6908.8395 home: 1,4665.4553; mobile: 6,8501.2359
work email: Basile point Starynkevitch at cea point fr 
home email: Basile at Starynkevitch point net

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


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

end of thread, other threads:[~2002-06-19 14:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-18 11:37 [Caml-list] version of Ocaml Damien Doligez
2002-06-19 14:53 ` John Max Skaller
  -- strict thread matches above, loose matches on Subject: below --
2002-06-18  9:26 Basile STARYNKEVITCH
2002-06-18 10:05 ` Sven Luther

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).