ocaml / ocaml

The core OCaml system: compilers, runtime system, base libraries
https://ocaml.org
Other
5.18k stars 1.06k forks source link

cygwin-version of ocaml #2624

Closed vicuna closed 23 years ago

vicuna commented 23 years ago

Original bug ID: 233 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)

Bug description

I have stopped testing the cygwin-version. The following additional problems I detected:

  1. run-caml within emacs works with 'ocaml', but not with 'mytop', which I generated myself. comint fails to start.
  2. debugcaml within emacs breaks on the same kind of error as 1.
  3. ocamllex doesn't work

The debugger works. Also, I tried ocamlc.opt and the compilation is twice as fast. (I use win2000, and the file caching is very good, therefor the starting times are very good.)

/mattias


Mattias Waldau, CTO Tacton AB, Saltmätargatan 7, 11359 Stockholm Mobile +46 70 549 11 12 http://www.tacton.com mailto:mattias.waldau@tacton.com

vicuna commented 23 years ago

Comment author: administrator

  1. run-caml within emacs works with 'ocaml', but not with 'mytop', which I generated myself. comint fails to start.

It seems to work here, however I named the custom toplevel 'mytop.exe' rather than 'mytop'. Windows sometimes recognizes executables without the .exe suffix, and sometimes requires the .exe suffix -- I haven't figured out the exact rules yet. But it's safer to put a .exe at the end.

  1. debugcaml within emacs breaks on the same kind of error as 1.

Again, it works here.

  1. ocamllex doesn't work

Correct. This was due to a bug in the startup code, which is now fixed.

Thanks for the beta-testing!

Regards,

vicuna commented 23 years ago

Comment author: administrator

ocamllex issue fixed 2000-11-28 by Xavier. Can't reproduce the other two problems.