Browse thread
Strange compilation problem
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2009-02-11 (09:28) |
From: | Matthieu Dubuget <matthieu.dubuget@g...> |
Subject: | Strange compilation problem |
This command line fails during the linking stage: > ocamlfind opt -linkpkg -package miniscan test.ml -o test.exe > ** Fatal error: Cannot find file "libmingw32" > File "caml_startup", line 1, characters 0-1: > Error: Error during linking Since this seems to be a problem with my "miniscan" findlib package, I gather some information and by-pass it > $ ocamlfind query miniscan > C:/cygwin/home/matt/ocamlmgw/lib/site-lib/miniscan > $ cat C:/cygwin/home/matt/ocamlmgw/lib/site-lib/miniscan/META > description = "Binding Miniscan" > archive(byte) = "miniscan.cma" > archive(native) = "miniscan.cmxa" > requires = "mtsvrac,ojson,log,dsn153,okenveloppe,traite" and this command line works, and produces a working test.exe file: > ocamlfind opt -linkpkg -package mtsvrac,ojson,log,dsn153,okenveloppe,traite -I c:/cygwin/home/matt/ocamlmgw/lib/site-lib/miniscan miniscan.cmxa test.ml -o test.exe Any idea what the problem could be? Or what I should check next? Salutations Matt