Le 22/06/2012 22:46, Ed Schwartz a écrit :
> Using debian's ocamlc:
> 
> ed@debian:~/ocaml-3.12.1$ ocamlc -custom test.ml -o test.out
> ed@debian:~/ocaml-3.12.1$ ocamlrun test.out
> Fatal error: the file test.out is not a bytecode executable file

Why do you use -custom if your executable works with plain ocamlrun?

> Using the official ocaml 3.12.1 source:
> 
> ed@debian:~/ocaml-3.12.1$ ocamlrun ./ocamlc -custom test.ml -o test.out
> ed@debian:~/ocaml-3.12.1$ ocamlrun test.out
> 
> This bug is preventing users of our OCaml project from being able to debug 
> their binaries, because ocamldebug reports the same error as ocamlrun.

See /usr/share/doc/ocaml-nox/README.Debian.


Cheers,

-- 
Stéphane





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to