Re: Bug#678577: ocaml: -custom breaks ocamlrun and ocamldebug
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
Reply to: