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: 5150 Reporter: spiralvoice Assigned to:@xclerc Status: closed (set by @diml on 2016-12-07T17:27:35Z) Resolution: open Priority: normal Severity: minor Version: 3.12.0 Target version: later Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues Tags: patch
Hi, I know MinGW/msys is not really supported but nonetheless I gave the new MinGW environment a try (gcc-4.5.0, binutils 2.20.51.20100613).
To compile the attached patch was needed to add "L/mingw/lib" at various places, it produced working ocamlc and ocamlopt.opt
$ ocamlopt.opt -v
The Objective Caml native-code compiler, version 3.12.0
Standard library directory: c:/GNU/ocaml3120/lib
$ ocamlc -v
The Objective Caml compiler, version 3.12.0
Standard library directory: c:/GNU/ocaml3120/lib
Can you give me a hint please what to do with camlp4? I already tried this without success:
--- ocaml-3.12.0.org//myocamlbuild.ml 2010-06-08 11:50:56.000000000 +0200
+++ ocaml-3.12.0/myocamlbuild.ml 2010-09-18 19:52:48.000000000 +0200
@@ -744,7 +744,7 @@
begin fun _ _ ->
Cmd(S[ocamlc; A"-I"; P dynlink_dir; A "dynlink.cma"; include_unix; unix_cma;
T(tags_of_pathname byte++"ocaml"++"link"++"byte");
P camlp4lib_cma; A"-linkall"; atomize cmos; A"-o"; Px (add_exe byte)])
Original bug ID: 5150
Reporter: spiralvoice
Assigned to: @xclerc
Status: closed (set by @diml on 2016-12-07T17:27:35Z)
Resolution: open
Priority: normal
Severity: minor
Version: 3.12.0
Target version: later
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Tags: patch
Bug description
$ camlp4
Fatal error: cannot load shared library dllunix
Reason: Cannot resolve WSAGetLastError@0
Additional information
Hi, I know MinGW/msys is not really supported but nonetheless I gave the new MinGW environment a try (gcc-4.5.0, binutils 2.20.51.20100613).
To compile the attached patch was needed to add "L/mingw/lib" at various places, it produced working ocamlc and ocamlopt.opt
$ ocamlopt.opt -v
The Objective Caml native-code compiler, version 3.12.0
Standard library directory: c:/GNU/ocaml3120/lib
$ ocamlc -v
The Objective Caml compiler, version 3.12.0
Standard library directory: c:/GNU/ocaml3120/lib
Can you give me a hint please what to do with camlp4? I already tried this without success:
--- ocaml-3.12.0.org//myocamlbuild.ml 2010-06-08 11:50:56.000000000 +0200
+++ ocaml-3.12.0/myocamlbuild.ml 2010-09-18 19:52:48.000000000 +0200
@@ -744,7 +744,7 @@
begin fun _ _ ->
Cmd(S[ocamlc; A"-I"; P dynlink_dir; A "dynlink.cma"; include_unix; unix_cma;
T(tags_of_pathname byte++"ocaml"++"link"++"byte");
rule native
~deps:(camlp4lib_cmxa :: camlp4lib_lib :: (cmxs @ objs @ dep_unix_native @ dep_dynlink_native))
File attachments
The text was updated successfully, but these errors were encountered: