> I've modified some packages, And another modification: I've removed (some) hardcoded path from godi-tools and a few other packages, so that it should be possible to use the binary packages on another machine with different settings. (The paths inside your cygwin hierarchy are still hardcoded).
You can try it out yourself (32-bit binaries only): http://ml.ignorelist.com/godi/godi32.tar.xz The tarball contains only godi, ocaml, flexdll, findlib and a small gtk based gui that you need to download additional packages Installation: Unpack the tarball at /opt (/opt/godi32 as localbase is fixed) and run /opt/godi32/relocate.sh. You must manually set the environment variable OCAMLLIB to `cygpath -m /opt/godi32`/lib/ocaml/std-lib; otherwise, special bytecode executables won't find the shared libraries they need. You can install addditional binary packages with /opt/godi32/gui/bin/gui.exe (Don't use the tarball to compile godi source packages) Some libraries require additional workarounds. In case of batteries, you have to set CAMOMILE_DIR. You can also do this inside your program, eg: let dir = .... (* could be relative to the current program *) let () = Unix.putenv "CAMOMILE_DIR" dir However, you have to make sure that this code and camomile are linked in the right order. ( If I remember right, there is better solution, if you use camomile yourself. But you can't controll how e.g. batteries use libraries like camomile. ) In case of ocamlnet, you must manually load the files at /opt/godi32/share/godi-ocamlnet in your program. Such things are really ugly, but it can't be changed at the level of packaging. Fortunately, most libraries should work without such hacks. _______________________________________________ Godi-list mailing list Godi-list@ocaml-programming.de https://godirepo.camlcity.org/mailman/listinfo/godi-list