caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Objective Caml 3.02 released
@ 2001-07-30 11:58 Xavier Leroy
       [not found] ` <006201c118f2$2898a850$6ec809c0@fabien>
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Xavier Leroy @ 2001-07-30 11:58 UTC (permalink / raw)
  To: caml-list

A must-have for your summer vacations: version 3.02 of the Objective
Caml system, now available from the usual places:

        http://caml.inria.fr/ocaml/distrib.html
        ftp://ftp.inria.fr/lang/caml-light/

This is essentially a bug-fix release (see detailed list below).

For general info on Objective Caml, see http://caml.inria.fr.  Bug
reports go to caml-bugs@inria.fr, questions to caml@inria.fr,
and general discussions to the mailing-list caml-list@inria.fr or the
comp.lang.ml or comp.lang.functional newsgroups.

- Xavier Leroy, for the Objective Caml team.


Objective Caml 3.02:
--------------------

Both compilers:
- Fixed embarrassing bug in pattern-matching compilation
  (affected or-patterns containing variable bindings).
- More optimizations in pattern-matching compilation.

Byte-code compiler:
- Protect against VM stack overflow caused by functions with many local
  variables.

Native-code compiler:
- Removed re-sharing of string literals, causes too many surprises with 
  in-place string modifications.
- Corrected wrong compilation of toplevel "include" statements.
- Fixed bug in runtime function "callbackN_exn".
- Signal handlers receive the conventional signal number as argument
  instead of the system signal number (same behavior as with the
  bytecode compiler).
- ARM port: fixed issue with immediate operand overflow in large functions.

Toplevel environment:
- User-definer printers (for #install_printer) now receive as first argument
  the pretty-printer formatter where to print their second argument.
  Old printers (with only one argument) still supported for backward
  compatibility.

Standard library:
- Module Hashtbl: added Hashtbl.fold.

Other libraries:
- Dynlink: better error reporting in add_interfaces for missing .cmi files.
- Graphics: added more drawing functions (multiple points, polygons,
    multiple lines, splines).
- Bytecode threads: the module Unix is now thread-safe, ThreadUnix is
    deprecated.  Unix.exec* now resets standard descriptors to blocking mode.
- Native threads: fixed a context-switch-during-GC problem causing
    certain C runtime functions to fail, most notably input_value.
- Unix.inet_addr_of_string: call inet_aton() when available so as to
    handle correctly the address 255.255.255.255.
- Unix: added more getsockopt and setsockopt functions to get/set
    options that have values other than booleans.
- Num: added documentation for the Big_int module.

Tools:
- ocamldep: fixed wrong dependency issue with nested modules.

Run-time system:
- Removed floating-point error at start-up on some non-IEEE platforms
  (e.g. FreeBSD prior to 4.0R).
- Stack backtrace mechanism now works for threads that terminate on
  an uncaught exception.

Auto-configuration:
- Updated config.guess and config.sub scripts, should recognize a greater
  number of recent platform.

Windows port:
- Fixed broken Unix.waitpid.  Unix.file_descr can now be compared or hashed.
- Toplevel application: issue with spaces in name of stdlib directory fixed.

MacOS 9 port:
- Removed the last traces of support for 68k

-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


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

* Re: [Caml-list] Objective Caml 3.02 released
       [not found] ` <006201c118f2$2898a850$6ec809c0@fabien>
@ 2001-07-30 12:44   ` Xavier Leroy
  0 siblings, 0 replies; 8+ messages in thread
From: Xavier Leroy @ 2001-07-30 12:44 UTC (permalink / raw)
  To: Fabien Fleutot; +Cc: caml-list

> What happened to the Haskell-like infix notation, which had been in the CVS
> until 27/07 ?

We (the Caml development team) realized a bit late that there was a
divergence of opinions on the exact semantics of these infixes, and
could not reach an agreement by the time of the 3.02 release.
(Distributed consensus is notoriously hard, but even more so when
participants take vacations at different times :-)  So, that will have
to wait for 3.03.

- Xavier Leroy
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


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

* Re: [Caml-list] Objective Caml 3.02 released
  2001-07-30 11:58 [Caml-list] Objective Caml 3.02 released Xavier Leroy
       [not found] ` <006201c118f2$2898a850$6ec809c0@fabien>
@ 2001-07-30 18:48 ` Daniel de Rauglaudre
  2001-07-31  2:58   ` Jeremy Fincher
  2001-08-12  8:15 ` [Caml-list] Question about ocamlidl Friedman Roy
  2 siblings, 1 reply; 8+ messages in thread
From: Daniel de Rauglaudre @ 2001-07-30 18:48 UTC (permalink / raw)
  To: caml-list

Camlp4 3.02 ok
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


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

* Re: [Caml-list] Objective Caml 3.02 released
  2001-07-30 18:48 ` Daniel de Rauglaudre
@ 2001-07-31  2:58   ` Jeremy Fincher
  2001-07-31 13:17     ` Re[2]: " Stephan Tolksdorf
  0 siblings, 1 reply; 8+ messages in thread
From: Jeremy Fincher @ 2001-07-31  2:58 UTC (permalink / raw)
  To: caml-list

I can't get this or 3.01 to compile under cygwin -- it does fine until it
starts using boot/ocamlrun, which doesn't exist.  boot/ocamlc and
boot/ocamllex exist, but there is no boot/ocamlrun.  Anyone have any ideas
why?

Thanks,
Jeremy
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


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

* RE: Re[2]: [Caml-list] Objective Caml 3.02 released
  2001-07-31 13:17     ` Re[2]: " Stephan Tolksdorf
@ 2001-07-31 11:40       ` Frank Atanassow
  0 siblings, 0 replies; 8+ messages in thread
From: Frank Atanassow @ 2001-07-31 11:40 UTC (permalink / raw)
  To: Stephan Tolksdorf, Jeremy Fincher; +Cc: caml-list

I had no problems installing 3.02 (dunno about 3.01) under Cygwin. If I were
to hazard a guess, then I would say you ran into a problem because you ran
`make installopt' after `make install'. This is not necessary since the
makefile automatically runs the former when you run the latter if ocamlopt
exists. Just make all the executables you need, then install.

---
Frank Atanassow, Information & Computing Sciences, Utrecht University
Padualaan 14, PO Box 80.089, 3508TB Utrecht, The Netherlands
Tel +31 (0)30 253-3261 Fax +31 (0)30 251-3791

> -----Original Message-----
> From: owner-caml-list@pauillac.inria.fr
> [mailto:owner-caml-list@pauillac.inria.fr]On Behalf Of Stephan Tolksdorf
> Sent: Tuesday, July 31, 2001 15:17
> To: Jeremy Fincher
> Cc: caml-list@inria.fr
> Subject: Re[2]: [Caml-list] Objective Caml 3.02 released
>
>
> > I can't get this or 3.01 to compile under cygwin -- it does
> fine until it
> > starts using boot/ocamlrun, which doesn't exist.  boot/ocamlc and
> > boot/ocamllex exist, but there is no boot/ocamlrun.  Anyone
> have any ideas
> > why?
>
> 3.01 works for me (latest Cygwin, Win2000)
> with the following steps:
> 1) Start Cygwin Bash Shell
> 2) Change into the OCaml src directory:
>    e.g. "cd /cygdrive/d/development/src/ocaml-3.02"
> 3) "./configure"
> 4) "make world"
> 5) "make install"
> Optionally:
> 6) "make ocamlopt"
> 6) "make installopt"
>
> When trying to install ocamlopt for 3.02 the following error occurs:
> $ make installopt
> cd asmrun; make install
> make[1]: Entering directory
> `/cygdrive/d/development/src/ocaml-3.02/asmrun'
> cp libasmrun.a /usr/local/lib/ocaml/libasmrun.a
> cp: cannot stat `libasmrun.a': No such file or directory
> make[1]: *** [install-default] Error 1
> make[1]: Leaving directory `/cygdrive/d/development/src/ocaml-3.02/asmrun'
> make: *** [installopt] Error 2

-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


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

* Re[2]: [Caml-list] Objective Caml 3.02 released
  2001-07-31  2:58   ` Jeremy Fincher
@ 2001-07-31 13:17     ` Stephan Tolksdorf
  2001-07-31 11:40       ` Frank Atanassow
  0 siblings, 1 reply; 8+ messages in thread
From: Stephan Tolksdorf @ 2001-07-31 13:17 UTC (permalink / raw)
  To: Jeremy Fincher; +Cc: caml-list

> I can't get this or 3.01 to compile under cygwin -- it does fine until it
> starts using boot/ocamlrun, which doesn't exist.  boot/ocamlc and
> boot/ocamllex exist, but there is no boot/ocamlrun.  Anyone have any ideas
> why?

3.01 works for me (latest Cygwin, Win2000)
with the following steps:
1) Start Cygwin Bash Shell
2) Change into the OCaml src directory:
   e.g. "cd /cygdrive/d/development/src/ocaml-3.02"
3) "./configure"
4) "make world"
5) "make install"
Optionally:
6) "make ocamlopt"
6) "make installopt"

When trying to install ocamlopt for 3.02 the following error occurs:
$ make installopt
cd asmrun; make install
make[1]: Entering directory `/cygdrive/d/development/src/ocaml-3.02/asmrun'
cp libasmrun.a /usr/local/lib/ocaml/libasmrun.a
cp: cannot stat `libasmrun.a': No such file or directory
make[1]: *** [install-default] Error 1
make[1]: Leaving directory `/cygdrive/d/development/src/ocaml-3.02/asmrun'
make: *** [installopt] Error 2

Regards,
  Stephan

-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


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

* [Caml-list] Question about ocamlidl
  2001-07-30 11:58 [Caml-list] Objective Caml 3.02 released Xavier Leroy
       [not found] ` <006201c118f2$2898a850$6ec809c0@fabien>
  2001-07-30 18:48 ` Daniel de Rauglaudre
@ 2001-08-12  8:15 ` Friedman Roy
  2001-08-13 14:51   ` Xavier Leroy
  2 siblings, 1 reply; 8+ messages in thread
From: Friedman Roy @ 2001-08-12  8:15 UTC (permalink / raw)
  To: caml-list

Hi,

Can the OCaml IDL compiler be used in Unix environments that do not
support (D)COM? Does it still generate usable stubs and proxies that can
be used to interface C (or other languages) and OCaml?

Thanks,

Roy

-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


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

* Re: [Caml-list] Question about ocamlidl
  2001-08-12  8:15 ` [Caml-list] Question about ocamlidl Friedman Roy
@ 2001-08-13 14:51   ` Xavier Leroy
  0 siblings, 0 replies; 8+ messages in thread
From: Xavier Leroy @ 2001-08-13 14:51 UTC (permalink / raw)
  To: Friedman Roy; +Cc: caml-list

> Can the OCaml IDL compiler be used in Unix environments that do not
> support (D)COM? Does it still generate usable stubs and proxies that can
> be used to interface C (or other languages) and OCaml?

Yes.  The stub code generated from CamlIDL input files is independent
of COM and work under Unix just as well as under Windows.

(The only caveat is IDL "interface" declarations: they are mapped
to pseudo-objects that can be used portably from C, but can only be
used from C++ if the layout of these pseudo-objects happen to match
those of C++ objects; CamlIDL ensures this for Windows and for gcc 2
under Unix, but I haven't tested with gcc 3.  But if you don't use
interface declarations, or don't use C++, there should be no problems.)

The only parts of CamlIDL that are really dependent upon the COM
runtime are the functions Com.create_instance and Com.register_factory.
These are available only under Windows.

- Xavier Leroy
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


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

end of thread, other threads:[~2001-08-13 14:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-30 11:58 [Caml-list] Objective Caml 3.02 released Xavier Leroy
     [not found] ` <006201c118f2$2898a850$6ec809c0@fabien>
2001-07-30 12:44   ` Xavier Leroy
2001-07-30 18:48 ` Daniel de Rauglaudre
2001-07-31  2:58   ` Jeremy Fincher
2001-07-31 13:17     ` Re[2]: " Stephan Tolksdorf
2001-07-31 11:40       ` Frank Atanassow
2001-08-12  8:15 ` [Caml-list] Question about ocamlidl Friedman Roy
2001-08-13 14:51   ` Xavier Leroy

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