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: 6470 Reporter: nndms Status: resolved (set by @xavierleroy on 2017-02-16T14:11:01Z) Resolution: not a bug Priority: normal Severity: major Target version: 4.05.0 +dev/beta1/beta2/beta3/rc1 Fixed in version: 4.05.0 +dev/beta1/beta2/beta3/rc1 Category: platform support (windows, cross-compilation, etc)
Bug description
ocamlopt -shared fails on cygwin 64bit with the following error message.
$ ocamlopt -o test.cmxs -shared test.ml
sh: -o: command not found
File "caml_startup", line 1:
Error: Error during linking
In this case, test.ml is simple.
$ cat test.ml
print_string "test\n"
This error seems to occur for all .ml files.
This error does not occur on 32bit version of cygwin.
The text was updated successfully, but these errors were encountered:
Looks like a configuration problem: the variable that should contain the name of the C compiler is empty, and the shell takes the first option (-o) as the command name.
Original bug ID: 6470
Reporter: nndms
Status: resolved (set by @xavierleroy on 2017-02-16T14:11:01Z)
Resolution: not a bug
Priority: normal
Severity: major
Target version: 4.05.0 +dev/beta1/beta2/beta3/rc1
Fixed in version: 4.05.0 +dev/beta1/beta2/beta3/rc1
Category: platform support (windows, cross-compilation, etc)
Bug description
ocamlopt -shared fails on cygwin 64bit with the following error message.
$ ocamlopt -o test.cmxs -shared test.ml
sh: -o: command not found
File "caml_startup", line 1:
Error: Error during linking
In this case, test.ml is simple.
$ cat test.ml
print_string "test\n"
This error seems to occur for all .ml files.
This error does not occur on 32bit version of cygwin.
The text was updated successfully, but these errors were encountered: