[Caml-list] ocamlbuild -> toplevel

2008-05-15 Thread Matthieu Dubuget
Hello, playing with ocamlbuild, I manage to produce one "my.top" toplevel by filling "my.mltop" with some module names (cmo), and asking for: ocamlbuild my.top. Now, instead of building a toplevel with cmo files, I would like to build one with libraries (cma). Is there any way to do this with oca

[Caml-list] Re: ocamlbuild -> toplevel

2008-05-17 Thread Matthieu Dubuget
I replied off-list to Nicolas (by mistake) in order to insist, because my question was not clear enough. After some more readings, I would say that my goal was to generate a custom toplevel by linking an "internal" library ("internal" is the term used on ocamlbuild wiki for libraries built by ocam

[Caml-list] Ocamlbuild: could help embedding Ocaml code into shared object?

2008-06-01 Thread Matthieu Dubuget
I often deliver my work as shared objects (DLL, in fact, because I'm stuck with Windows at work). I would like to have ocamlbuild take care of this, but I don't know exactly how to do it? The idea would be to split the work in two separate rules. The first rule generates a shared object from the

Re: [Caml-list] Ocamlbuild: could help embedding Ocaml code into shared object?

2008-06-05 Thread Matthieu Dubuget
Romain Bardou a écrit : > Matthieu Dubuget a écrit : >> I often deliver my work as shared objects (DLL, in fact, because I'm >> stuck with Windows at work). >> >> I would like to have ocamlbuild take care of this, but I don't know >> exactly how to do it

[Caml-list] Ocamlbuild_config

2008-06-23 Thread Matthieu Dubuget
Hello, during installation, one Caml module named Ocamlbuild_config is created (at least when the ocamlbuild method is used). Is this module installed anywhere, and are the values listed in it accessible from an ocamlbuild plugin? That would avoid to call ocamlc or ocamlopt and parse results. T

[Caml-list] camlidl + mingw + 3.11 ?

2008-12-18 Thread Matthieu Dubuget
Hello, I was not able to compile and install correctly camlidl with OCaml 3.11 (mingw version). Did anybody succeed, or should camlidl be adapted? Thanks in advance. Matt ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-

Re: [Caml-list] Shared libraries with ocamlopt callable from C (without main())?

2009-01-09 Thread Matthieu Dubuget
Ben Aurel a écrit : > I'm thinking about the possibility to use OCaml as an extension > language. If I wanted to call a OCaml function from langX I had to use > a C wrapper. > > langX -> ( C API of langX | C Wrapper | C API of OCaml ) -> OCaml > Yes > But could somebody tell me if ( and ma

Re: [Caml-list] Toplevel - loading dependencies

2009-01-09 Thread Matthieu Dubuget
Dawid Toton a écrit : > What is the right solution? What about camlfind? Salutations Matt ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: ht

Re: [Caml-list] Shared libraries with ocamlopt callable from C (without main())?

2009-01-10 Thread Matthieu Dubuget
Ben Jakb a écrit : > I try to create a static library called "libadd5wrapperlib.a" ( I know > kinda WTF ). So here is my simple example: I did not succeed (yet ;-) ) in making a static library… I have an example with a shared one, though. > > (Warning: You'll see a lot of bad code below, sorry f

Re: [Caml-list] Shared libraries with ocamlopt callable from C (without main())?

2009-01-10 Thread Matthieu Dubuget
Ben Jakb a écrit : > matthieu, > thanks for the interesting answer. > Unfortunately I can't build 'mycamlbuild.ml', and it is a bit too > advanced for me to understand. If you have a > 3.10 version of ocaml, you don't need to compile yourself myocamlbuild.ml. This is done automatically by ocamlbu

Re: [Caml-list] Building with OCamlMkLib

2009-01-20 Thread Matthieu Dubuget
My last patch was not usable… Sorry diff -urN ./files/camlpdfc.mlcdll ./files-modified/camlpdfc.mlcdll --- ./files/camlpdfc.mlcdll 1970-01-01 01:00:00.0 +0100 +++ ./files-modified/camlpdfc.mlcdll2009-01-20 22:16:52.0 +0100 @@ -0,0 +1,2 @@ +Cpdflibc +cpdflibwrapper.o diff -ur

[Caml-list] ocaml mingw installation problem

2009-01-22 Thread Matthieu Dubuget
does not want to run: application error (try to read address 0) - labltk: "Fatal error: cannot load shared library dlllabltk\nReason: Cannot resolve Tk_PhotoPutBlock" Thanks in advance for any idea to go further Salutations Matthieu Dubuget P.S. On the contrary,

[Caml-list] Re: ocaml mingw installation problem

2009-01-27 Thread Matthieu Dubuget
Matthieu Dubuget a écrit : > Hello, > > I still have a problem with my installation of OCaml 3.11. > Certainly because of some mis-configuration, but I can't figure out were > it could come from? > Confirmed: I had to install my computer from scratch (including the "

Re: [Caml-list] Re: [ANN] OCaml Batteries Included, alpha 3

2009-02-07 Thread Matthieu Dubuget
Sylvain Le Gall a écrit : > On 07-02-2009, Jon Harrop wrote: >> On Saturday 07 February 2009 14:43:49 Sylvain Le Gall wrote: >>> So: what need to be improved? >> Documentation! I tried to use ocamlbuild several times and gave up because I >> could not figure out how to do simple things. > > Good

Re: [Caml-list] Re: [ANN] OCaml Batteries Included, alpha 3

2009-02-07 Thread Matthieu Dubuget
David Rajchenbach-Teller a écrit : > On Sat, 2009-02-07 at 17:13 +0100, Matthieu Dubuget wrote: >> An other points that could be improved, concerning ocamlbuild are: >> - modules (planned, but I don't know how many time the owners of >> ocamlbuild have?) > > I don

Re: [Caml-list] Re: ocamlbuild documentation

2009-02-10 Thread Matthieu Dubuget
Jan Kybic a écrit : > Why do I have to manually set all the paths and library names > if I have already said "pkg_..." in _tags? Why does not ocamlbuild > uses ocamlfind to find out automatically? I thought the plugin was > supposed to do exactly this. > Not sure about the first answer. Anyway,

Re: [Caml-list] Re: ocamlbuild documentation

2009-02-10 Thread Matthieu Dubuget
Jan Kybic a écrit : >> your _tags file is too restrictive. Your pkg_… are taken into account >> only for >> .ml and .mli files. >> At link stage, there are not used >> What if you add " or" on the first line? >> > > Yes, it works! > Nice. > >> I think the findlib packages are simply not

[Caml-list] Strange compilation problem

2009-02-11 Thread Matthieu Dubuget
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

[Caml-list] Re: Strange compilation problem

2009-02-11 Thread Matthieu Dubuget
Here are some more infos. I increased flexlink.exe verbosity. First, the failing log, then the working one, and at last a diff of both. > ocamlfind opt -o test.exe -linkpkg -package miniscan test.ml -cclib -v -cclib -v -cclib -v > ** Use cygpath: true > ** Search path: > C:/cygwin/home/matt/ocaml

[Caml-list] Re: Strange compilation problem

2009-02-11 Thread Matthieu Dubuget
Progressing… slowly. There is clearly a problem in my configuration or in flexlink, or both? If I copy: libadvapi32.a libmingw32.a libmoldname.a libkernel32.a libmingwex.a libshell32.a in my present working directory, the link stage works. ocamlfind opt -linkpkg -package miniscan test.ml -

Re: [Caml-list] Re: Strange compilation problem

2009-02-11 Thread Matthieu Dubuget
Christoph Bauer a écrit : > Hi, > > I had also similar problems: > http://caml.inria.fr/mantis/view.php?id=4645 > > Make sure, that you use the latest flexlink. > Thanks for the answer. I do have the very last flexdll (0.14). I downloaded the binary version. And I'm inside the subversion vers

Re: [Caml-list] Re: Strange compilation problem (flexlink trying to deal with windows and cygwin shell limitations)

2009-02-11 Thread Matthieu Dubuget
Christoph Bauer a écrit : > I added -L$(cygpath -m /usr/lib/w32api) somewhere in the command lin while > linking. > Does this help? (Maybe as -cclib -L$(cygpath -m /usr/lib/w32api)) > > Regards, > > Christoph Bauer > No :-/ But I think I understood the problem. flexlink tries a lot of paths.

Re: [Caml-list] Re: Strange compilation problem -> solved

2009-02-11 Thread Matthieu Dubuget
Here is a patch against subversion version of flexlink that solves my problem. Salutations P.S. Alain, j'ai eu un problème d’édition de liens avec flexlink, qui s’est avéré être à ma portée (voir la liste de diffusion caml) ; d’autant plus que la solution était déjà en partie dans les sources de

[Caml-list] Ocamlbuild question

2009-02-11 Thread Matthieu Dubuget
Hello, I'm trying to manage "internal" camlfind packages. I use "internal" with the same meanning than in ocamlbuild documentation when speaking about libraries. I want my camlfind packages to be re-installed if one of their dependency was modified. For this, I wrote a simple rule, based on %.ioc

Re: [Caml-list] Ocamlbuild question

2009-02-12 Thread Matthieu Dubuget
Nicolas Pouillard a écrit : > Excerpts from Matthieu Dubuget's message of Wed Feb 11 23:26:43 +0100 2009: > >> Hello, >> >> I'm trying to manage "internal" camlfind packages. I use "internal" with >> the same meanning than in ocamlbuild documentation when speaking about >> libraries. >> >> I wan

Re: [Caml-list] Ocamlbuild question

2009-02-12 Thread Matthieu Dubuget
Matthieu Dubuget a écrit : > Nicolas Pouillard a écrit : >> Excerpts from Matthieu Dubuget's message of Wed Feb 11 23:26:43 +0100 2009: >> >>> Hello, >>> >>> I'm trying to manage "internal" camlfind packages. I use "interna

Re: [Caml-list] Ocamlbuild question

2009-02-13 Thread Matthieu Dubuget
Matthieu Dubuget a écrit : > Matthieu Dubuget a écrit : > >> Nicolas Pouillard a écrit : >> >>> Excerpts from Matthieu Dubuget's message of Wed Feb 11 23:26:43 +0100 2009: >>> >>> >>>> Hello, >>>> >

Re: [Caml-list] Ocamlbuild question

2009-02-13 Thread Matthieu Dubuget
Correction: Matthieu Dubuget a écrit : > Thanks to Nicolas: the solution was: > - tag .oocamlfind files with "dont_link_with" In fact, tagging .oocamlfind files is not needed. The key point is to add "dont_link_with" when calling dep: > - and add "dont_link_wi

Re: [Caml-list] Ocamlbuild question

2009-02-16 Thread Matthieu Dubuget
Matthieu Dubuget a écrit : > Correction: > > Matthieu Dubuget a écrit : > >> Thanks to Nicolas: the solution was: >> - tag .oocamlfind files with "dont_link_with" >> > > In fact, tagging .oocamlfind files is not needed. > > The k

[Caml-list] ocamlbuild dependencies on windows and on linux

2009-02-18 Thread Matthieu Dubuget
Hello, I did a test project (some directories, myocamlbuild.ml, _tags files, etc.) that I put on a USB flash key. When building on linux, everything seems to work as expected (for example, if one dependency is touched, only the affected files are built again). When building on windows, everytime

Re: Re : [Caml-list] ocamlbuild dependencies on windows and on linux

2009-02-18 Thread Matthieu Dubuget
Matthieu Wipliez a écrit : > Hi, > > concerning myocamlbuild.ml, I reported the very same bug here: > http://caml.inria.fr/mantis/view.php?id=4710 > As far as I know, this is due to the fact that when Ocamlbuild checks whether > the plugin has been built, it only looks for "myocamlbuild". On Wind

[Caml-list] Re: ocamlbuild dependencies on windows and on linux

2009-02-19 Thread Matthieu Dubuget
Matthieu Dubuget a écrit : > Hello, > > I did a test project (some directories, myocamlbuild.ml, _tags files, > etc.) that I put on a USB flash key. > > When building on linux, everything seems to work as expected (for > example, if one dependency is touched, only the aff

Re: [Caml-list] dll from ocaml code

2009-03-16 Thread Matthieu Dubuget
Joel Reymont a écrit : > Does anyone have a recipe for packaging OCaml code as a DLL or shared > library? yes > > I need to be able to expose a few entry points that correspond to > OCaml functions. Suppose that you add this line: flag ["link";"cmldll"] (S[A"-output-obj"]); and this rule

[Caml-list] ocamlc linking with .dll

2009-03-20 Thread Matthieu Dubuget
According to the manual, for ocamlc: > Arguments ending in .so (.dll under Windows) are assumed to be C > shared libraries (DLLs). > During linking, they are searched for external C functions referenced > from the Caml code, > and their names are written in the generated bytecode executable. The >

[Caml-list] Re: ocamlc linking with .dll

2009-03-20 Thread Matthieu Dubuget
With ocamlopt, if a dll is given as is the message is: > C:\cygwin\home\matt\ocamlmgw\bin\ocamlopt.exe: don't know what to do with 16x64_pocket.dll. Salutations Matt ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-b

Re: [Caml-list] ocaml + non-cygwin gtk+ on windows

2009-03-28 Thread Matthieu Dubuget
Joel Reymont a écrit : > Has anyone used ocaml and gtk+ to build non-cygwin app for windows? > > These would be gtk+ apps that don't require the x server. > > What toolchain did you use? > > Thanks, Joel Mingw flavour of OCaml is ok. The gtk DLLs are to be installed separately, as explained

[Caml-list] Sys.command and quotes

2009-05-05 Thread Matthieu Dubuget
Hello, I have a problem with mingw version of ocaml (compiled by hand, or with godi). 1- Is the following reproducible? 2- If yes, do you consider this as a bug? It seems that in "Sys.command s", if the first and the last characters of s are '"', they are elided? It prevents menhir (20090

Re: [Caml-list] Sys.command and quotes

2009-05-05 Thread Matthieu Dubuget
Francois Pottier a écrit : > Hello, > > On Tue, May 05, 2009 at 10:58:29AM +0200, Matthieu Dubuget wrote: >> It prevents menhir (20090402) to compile on my mingw system with ocamlfind >> in use (because when ocamlfind is used, the dependencies are found with an >> ocaml

[Caml-list] Window registry

2009-05-14 Thread Matthieu Dubuget
Hello, is there any binding around that would allow to read values from window's registry? Salutations Matt ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Be

Re: [Caml-list] Window registry

2009-05-14 Thread Matthieu Dubuget
Thanks for your lightning fast answers, Gerd and David! Matt ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocam

Re: [Caml-list] Linking fails for native version of 3.11 under MinGW when using large number of modules

2009-05-24 Thread Matthieu Dubuget
Hans Ole Rafaelsen a écrit : > By removing some of the packages from the link stage, it builds easily > with more BarXXX modules included. Some of the packages seems to high a > higher impact than others. By instead opening BXXX modules, which do the > same as BarXXX modules, but have shorter names

Re: [Caml-list] Linking fails for native version of 3.11 under MinGW when using large number of modules

2009-05-24 Thread Matthieu Dubuget
Hans Ole Rafaelsen a écrit : > Matthieu Dubuget wrote: >> Hans Ole Rafaelsen a écrit : >> >>> I'm able to include a large number of my own modules (tested >>> with long names), so it does not seem to be the length of the command >>> line arguments

[Caml-list] Is it possible to debug (multithreaded) lablgtk2 apps?

2009-06-09 Thread Matthieu Dubuget
Hello, I'm trying to use camldebug. But I'm afraid I'm accumulating difficulties: - under mingw - lablgtk2 + multithreaded app With a very simple app, the programs run and works once started from camldebug (from emacs), but my breakpoints are ignored. With the more complex app I wanted to work

Re: [Caml-list] Is it possible to debug (multithreaded) lablgtk2 apps?

2009-06-09 Thread Matthieu Dubuget
Dmitry Bely a écrit : > On Tue, Jun 9, 2009 at 11:17 AM, Matthieu > Dubuget wrote: >> Hello, >> >> I'm trying to use camldebug. But I'm afraid I'm accumulating difficulties: >> >> - under mingw >> - lablgtk2 + multithreaded app > > Oc

[Caml-list] file mapped bigarray and Unix.unlink

2009-07-02 Thread Matthieu Dubuget
Hello, I have difficulties to delete one file (name: fn, file descriptor: fdesc) with "Unix.unlink fn". I suspect that this is because I have a bigarray ba mapped with fdesc. Is it a possible reason? At some point, I want to delete fn because the saving operation was cancelled by the user. I as

Re: [Caml-list] file mapped bigarray and Unix.unlink

2009-07-02 Thread Matthieu Dubuget
Solved! Sorry for the noise. The operating systems takes time to free the file descriptor. The strategy I adopted is to spawn a recursive thread that periodically try to erase the file until success. Salutations ___ Caml-list mailing list. Subscription

Re: [Caml-list] file mapped bigarray and Unix.unlink

2009-07-02 Thread Matthieu Dubuget
| Sujet : « Re: [Caml-list] file mapped bigarray and Unix.unlink » | Pour : « matthieu.dubu...@gmail.com » | De : « David MENTRE » | Le Thu Jul 02 2009 11:49:33 GMT+0200 (CEST) > Hello Mathieu, > > 2009/7/2 Matthieu Dubuget : > >> The strategy I adopted is to spawn a rec

[Caml-list] External DLL call with mingw OCaml

2009-09-20 Thread Matthieu Dubuget
that it is a trial error process in order to find the @nn to add into visa.def. I deduce them from the error message I receive (I don't remember if this is at step 5/ or 6/) about visa_funct...@nn that can't be found. Salutations Matthieu Dubuget __

[Caml-list] Pre-processor sub-process

2009-09-27 Thread Matthieu Dubuget
Hello, I'm trying to have bin-prot compiled with mingw version of OCaml with the original OCamlMakefile. This fails on my computer. I reproduced the problem here: On linux, there is no problem: $ uname Linux $ echo $BIN_PROT_CPP cpp $ echo $pp $BIN_PROT_CPP $ARCH_FLAGS $ ocamlc -c -verbose -pp

[Caml-list] Howto execute a command without the "cmd" windows opening?

2009-11-04 Thread Matthieu Dubuget
Hello, I'm trying to run a separated program from an ocaml program (linked with "-subsystem windows" flexlink option). I'm using mingw flavour of Ocaml. The program to run separately is also an ocaml program, linked with "-subsystem windows". The problem is that a "c:\windows\system32\cmd.exe" w

Re: [Caml-list] Howto execute a command without the "cmd" windows opening?

2009-11-04 Thread Matthieu Dubuget
> It's been on my todo list to wrap the CreateProcess Win32 API function[1] in > a C stub function - someone else may have done this (possibly in > ocaml-win32[2] or something like that), though. The API is very simple (most > parameters will be NULL) so the stub would not take long to write. > >

Re: [Caml-list] Howto execute a command without the "cmd" windows opening?

2009-11-04 Thread Matthieu Dubuget
>> It's been on my todo list to wrap the CreateProcess Win32 API function[1] in >> a C stub function - someone else may have done this (possibly in >> ocaml-win32[2] or something like that), though. The API is very simple (most >> parameters will be NULL) so the stub would not take long to write.

Re: [Caml-list] Howto execute a command without the "cmd" windows opening?

2009-11-04 Thread Matthieu Dubuget
Message original Sujet : Re: [Caml-list] Howto execute a command without the "cmd" windows opening? De : Alain Frisch Pour : matthieu.dubu...@gmail.com Date : Wed Nov 04 2009 13:22:01 GMT+0100 (CET) > Matthieu Dubuget wrote: >> Is there any way to run a

Re: [Caml-list] Ocamlbuild-plus-0.99

2009-11-13 Thread Matthieu Dubuget
Thanks a lot for this! I will jump on it, and try to avoid being burn. Matt ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.

[Caml-list] Windows installer's scripts

2009-12-21 Thread Matthieu Dubuget
Hello list, I've been looking for the scripts used to generate Ocaml windows installers, but did not found them in the repository. Did I miss them, or are they not accessible? Thanks Salutations Matt ___ Caml-list mailing list. Subscription manag

Re: [Caml-list] [ANNOUNCE] OCaml Bitstring 2.0.2

2010-01-09 Thread Matthieu Dubuget
For those who would want to use bitstring on mingw, I had it compiled ok with the following: cp byteswap.in.h byteswap.h sed -i -e 's/-Werror -fPIC//' Makefile.in sed -i -e 's/open_in/open_in_bin/' pa_bitstring.ml create_test_pattern.ml bitstring_objinfo.ml ./configure CFLAGS="-mno-cygwin" make

Re: [Caml-list] [ANNOUNCE] OCaml Bitstring 2.0.2

2010-01-09 Thread Matthieu Dubuget
Oups. I forgot one modification: cp byteswap.in.h byteswap.h sed -i -e 's/-Werror -fPIC//' -e 's/\*\.so/\*.dll/' Makefile.in sed -i -e 's/open_in/open_in_bin/' pa_bitstring.ml create_test_pattern.ml bitstring_objinfo.ml ./configure CFLAGS="-mno-cygwin" make make install Salutations Matt ___

[Caml-list] dynamic link library path under mingw

2010-01-27 Thread Matthieu Dubuget
Hello, I'm doing something wrong, but can't figure out what? *** Library compilation, in libeeproms/: This is a mixed ocaml/c library, and it depends on a third party DLL *** $ ocamlc -c eprom_stubs.c $ ocamlmklib -o m2mEeproms e

Re: [Caml-list] dynamic link library path under mingw [NC]

2010-01-27 Thread Matthieu Dubuget
Original Message Subject: Re: [Caml-list] dynamic link library path under mingw [NC] From: Rabih EL-CHAAR To: matthieu.dubu...@gmail.com Date: 27/01/2010 15:36 Why you're not using -dllpath option in ocamlmklib? I think this should solve your problem (didn't make the check).

Re: [Caml-list] dynamic link library path under mingw

2010-01-27 Thread Matthieu Dubuget
From: Xavier Leroy Try setting the OCAMLRUNPARAMS environment variable to the value "v=256". The run-time system will then print additional debug messages concerning DLL searching and loading. - Xavier Leroy OCAMLRUNPARAM without S! Thanks for the tip. $ OCAMLRUNPARAM="v=256" ./tests.by

Re: [Caml-list] dynamic link library path under mingw

2010-01-27 Thread Matthieu Dubuget
Matthieu Dubuget: Two separated problems, then: - how to store a search path into tests.byte? The use of -dllpath when generating tests.byte does it. I wanted to add this path during library generation, not when using it. Anyway. This is not the biggest problem: I will use ocamlfind, that

Re: [Caml-list] ocamlbuild & linker options

2010-02-03 Thread Matthieu Dubuget
Original Message Subject: [Caml-list] ocamlbuild & linker options From: John Lepikhin To: caml-l...@inria.fr Date: 03/02/2010 10:02 Hello, Is there a way to pass option "-R /some/path" to GCC linker from ocamlbuild? I tried "ocamlbuild -lflags -cclib,-R,/some/path", but witho

[Caml-list] OCaml compilation

2010-05-27 Thread Matthieu Dubuget
Hello, I'm trying to compile ocaml (mingw) on XP. I did not succeed, and could reproduce the very same behaviour on two computers (a real one, and in a virtual machine). On my main development system, the compilation does not fail. The difference may be that I don't touch at my currently wor

Re: [Caml-list] OCaml compilation

2010-05-28 Thread Matthieu Dubuget
Thanks for your answer, David. Installs Tcl 8.5 Yes. tkroot=C:/tcl tkdll=tk85.dll tcldll=tcl85.dll download_file ${activetcl} ${activetcldownload} chmod +x ${downloaddir}/${activetcl} ${downloaddir}/${activetcl} --directory ${tkroot} 9/ OCaml building #!/bin/bash ocaml=o

Re: [Caml-list] OCaml compilation

2010-05-28 Thread Matthieu Dubuget
Thanks again. In the meantime, I gone on another way: I really needed to have a working development environment on this notebook before leaving! I just used brute force : copy of c:\cygwin from the working computer to the "new" one. My compiled version of ocaml came with this brute force copy

Re: [Caml-list] OCaml compilation

2010-05-28 Thread Matthieu Dubuget
Certainly looks correct, I agree. One thought - have you remembered to put C:\Tcl\bin in your PATH on the machines which are failing? Is flexlink definitely the same version on each machine? Two other possibilities: 1. Try entering the command that's failing manually with -verbose and then

[Caml-list] Re: OCaml compilation

2010-06-08 Thread Matthieu Dubuget
Hello, I'm answering to myself, since I understood the problem. I had LANG=fr_FR.UTF-8 in my environment. This led objdump to generate a dump file with: Table [Ordinal/Nom de pointeurs] instead of [Ordinal/Name Pointer] Table This line is searched by flexlink.exe when parsing objdum

Re: [Caml-list] Calling OCaml from C - nothing shown on stdout

2010-06-29 Thread Matthieu Dubuget
Original Message Subject: Re: [Caml-list] Calling OCaml from C - nothing shown on stdout From: David Allsopp To: 'Andreas Sommer' , 'caml-list@yquem.inria.fr' Date: 29/06/2010 13:18 2. Insert a flush stdout statement after each Printf.printf call. Better, create another fu

Re: [Caml-list] Re: Pre-compiled ocaml binary for windows

2010-12-06 Thread Matthieu Dubuget
Hello, There are still problem and we are lacking a bit of time to finish it. could you explain the problems remaining? Thanks for all your efforts Matt ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/lis