You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1932 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: -for Caml light use https://github.com/camllight/camllight/issues
Bug description
Full_Name: John Harrison
Version: Caml Light 0.75
OS: Windows XP + Cygwin
Submission from: jffwpr01.jf.intel.com (134.134.136.1)
Has anyone built Caml Light under Cygwin? OCaml compiles without problems but I
have severe problems with Caml Light 0.75. This is the latest Cygwin under
Windows
XP.
A relatively minor first problem in "src/runtime", a type inconsistency
between "sys_errlist" in sys.c and standard header errno.h. But it was only the
addition of "const" qualifiers so I modified sys.c accordingly.
After building inside "src/runtime", the subsequent copy of "camlrun" fails:
cp: runtime/camlrun' and ./camlrun' are the same file
This may be something to do with Cygwin's weird phantom "exe" extensions.
Anyway
I just copied runtime/camlrun.exe to camlrun instead, and dealt with an
identical
problem in the following "yacc" build in the same way.
Stranger still, the build inside "lib" fails early:
../camlrun ../camlcomp -stdlib . -O none -g -W arg.mli
Fatal error: the file ../camlcomp is not a bytecode executable file
As far as I can see from the source, this means an unexpected magic number, but
the file (according to "od") does end with "CL07" as expected. I didn't delve
deeper. Any suggestions?
John.
The text was updated successfully, but these errors were encountered:
Original bug ID: 1932
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: -for Caml light use https://github.com/camllight/camllight/issues
Bug description
Full_Name: John Harrison
Version: Caml Light 0.75
OS: Windows XP + Cygwin
Submission from: jffwpr01.jf.intel.com (134.134.136.1)
Has anyone built Caml Light under Cygwin? OCaml compiles without problems but I
have severe problems with Caml Light 0.75. This is the latest Cygwin under
Windows
XP.
A relatively minor first problem in "src/runtime", a type inconsistency
between "sys_errlist" in sys.c and standard header errno.h. But it was only the
addition of "const" qualifiers so I modified sys.c accordingly.
After building inside "src/runtime", the subsequent copy of "camlrun" fails:
cp:
runtime/camlrun' and
./camlrun' are the same fileThis may be something to do with Cygwin's weird phantom "exe" extensions.
Anyway
I just copied runtime/camlrun.exe to camlrun instead, and dealt with an
identical
problem in the following "yacc" build in the same way.
../camlrun ../camlcomp -stdlib . -O none -g -W arg.mli
Fatal error: the file ../camlcomp is not a bytecode executable file
As far as I can see from the source, this means an unexpected magic number, but
the file (according to "od") does end with "CL07" as expected. I didn't delve
deeper. Any suggestions?
John.
The text was updated successfully, but these errors were encountered: