From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by sympa.inria.fr (Postfix) with ESMTPS id 05C607EEAF for ; Tue, 22 Jan 2013 14:51:59 +0100 (CET) Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of zhi.han@gmail.com) identity=pra; client-ip=209.85.212.49; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="zhi.han@gmail.com"; x-sender="zhi.han@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail1-smtp-roc.national.inria.fr: domain of zhi.han@gmail.com designates 209.85.212.49 as permitted sender) identity=mailfrom; client-ip=209.85.212.49; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="zhi.han@gmail.com"; x-sender="zhi.han@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-vb0-f49.google.com) identity=helo; client-ip=209.85.212.49; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="zhi.han@gmail.com"; x-sender="postmaster@mail-vb0-f49.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqsBAO2Y/lDRVdQxk2dsb2JhbABEvikIFg4BAQEBCQkLCRQEI4JlARsPDwMSCQEGXQERAQUBPYd+AQMPm02CcIw0gXGBCoRsChknDVmIAwEFDI4BgykDiGGNK45oFimENQ X-IronPort-AV: E=Sophos;i="4.84,514,1355094000"; d="scan'208";a="191101945" Received: from mail-vb0-f49.google.com ([209.85.212.49]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 22 Jan 2013 14:51:17 +0100 Received: by mail-vb0-f49.google.com with SMTP id s24so5218820vbi.36 for ; Tue, 22 Jan 2013 05:51:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=6tott1H8ld2QiGFCDawmoLFeelcYcsHu4cghIpoF4E0=; b=roof02Hn25M6l+A96MMiu12bSFKsNPVvjADK/c8LBS9EoemVrNqn6aGtFd5QAdOk9o sgiWJTCgqskBzwJuJlWRHxVBXkUU08O2m4gX6a3N6OEYaqiuu9sSU8hsMoZrXMXds442 ea+3SceMNGXnw5ft2HmcL6VkaQlrPotLreTy6BssdqAHuYA0TMGwt1VG0uvK3UoLiw9z Cmg2rnFSlEipElaS3TvK7zZzgRUCEvYv4BgNN8bZnlIBxVGqLAKFrISchwKXXkyfspMn j25lxSL9fNayqRK17dNeiTmaXoWQdgCf7ykGXBkc+KQQd746Be5/3LWzTNL43cDbuPUN 6lxg== MIME-Version: 1.0 X-Received: by 10.52.155.205 with SMTP id vy13mr20740849vdb.119.1358862676691; Tue, 22 Jan 2013 05:51:16 -0800 (PST) Received: by 10.220.224.68 with HTTP; Tue, 22 Jan 2013 05:51:16 -0800 (PST) Date: Tue, 22 Jan 2013 08:51:16 -0500 Message-ID: From: Zhi Han To: caml-list@inria.fr Content-Type: multipart/alternative; boundary=bcaec53aecce248c6904d3e0df94 Subject: [Caml-list] OCaml configuration for sharpbangscripts --bcaec53aecce248c6904d3e0df94 Content-Type: text/plain; charset=ISO-8859-1 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 --bcaec53aecce248c6904d3e0df94 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi, OCaml experts

I was tweaking the co= nfiguration for 'sharpbangscripts' on a Debian linux box. What I wa= nt to do is the disable the generation of sharp-bang line in the ocaml byte= code. By setting the bit to false in makefile it seems to do the trick. How= ever, this change breaks ocamldebug.=A0

Here is the output of using ocamldebug:
= % ocamldebug hello.d.byte =A0# It does not debug, instead just run the prog= ram
hello ocaml world! =A0

If I in= voke ocamlrun before ocamldebug, it does not recognize the third argument.= =A0
% ocamlrun ocamldebug hello.d.byte
Objective Caml Debugger version 3.12.1
=

(ocd) r
Loading program... No bytecode file s= pecified.

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
--bcaec53aecce248c6904d3e0df94--