* [Caml-list] OCaml configuration for sharpbangscripts
@ 2013-01-22 13:51 Zhi Han
0 siblings, 0 replies; only message in thread
From: Zhi Han @ 2013-01-22 13:51 UTC (permalink / raw)
To: caml-list
[-- Attachment #1: Type: text/plain, Size: 838 bytes --]
Hi, OCaml experts
I was tweaking the configuration for 'sharpbangscripts' on a Debian linux
box. What I want to do is the disable the generation of sharp-bang line in
the ocaml bytecode. By setting the bit to false in makefile it seems to do
the trick. However, this change breaks ocamldebug.
Here is the output of using ocamldebug:
% ocamldebug hello.d.byte # It does not debug, instead just run the program
hello ocaml world!
If I invoke ocamlrun before ocamldebug, it does not recognize the third
argument.
% ocamlrun ocamldebug hello.d.byte
Objective Caml Debugger version 3.12.1
(ocd) r
Loading program... No bytecode file specified.
I suspect that the argument was lost in the call chain because this error
is from the ocamlrun invoked from ocamldebug. Could someone help to look
into it? Thanks.
--
---------------
Zhi Han
[-- Attachment #2: Type: text/html, Size: 1156 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-22 13:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-22 13:51 [Caml-list] OCaml configuration for sharpbangscripts Zhi Han
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox