From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) by sourceware.org (Postfix) with ESMTPS id C0B473858CDB for ; Wed, 24 Aug 2022 09:20:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C0B473858CDB Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=cygwin.com Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MKKd7-1ojfv63AcB-00Lm2i; Wed, 24 Aug 2022 11:20:31 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 91FF8A8088B; Wed, 24 Aug 2022 11:20:28 +0200 (CEST) Date: Wed, 24 Aug 2022 11:20:28 +0200 From: Corinna Vinschen To: David Allsopp Cc: William Hu , "cygwin-apps@cygwin.com" Subject: Re: [ITA] ocaml 4.14.0 Message-ID: Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: David Allsopp , William Hu , "cygwin-apps@cygwin.com" References: <7468d799ca644985a1b8f3c4d104b9a6@metastack.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <7468d799ca644985a1b8f3c4d104b9a6@metastack.com> X-Provags-ID: V03:K1:0wAx1QlUE/fZ9xsFYa1HXR/Ifz6nWi50YZbjE6d+X4PE4oUNIxE 3Iud0xqc0XcvpE601kdru3bht/5sfFgjOllYt4xtK49wahCtnAyXA07lRTGMQV+jNEw/ln1 akrDyRnPwP7mRrqGH34Dwrfkf/zxxUGA8u61suZyiuZi0THNGlAD78Ub54jFEpT2vlcApAb 9vtVF5tBwie0HN14aKzpg== X-UI-Out-Filterresults: notjunk:1;V03:K0:yfYl4rUj01g=:zkuqv3dT/BkBZfAVFdiDn9 d9Fyp3x4tdYuA7AtwF4eZp1nHqhSK9pbqzyXYsh8eOyTBHkVzHzNVMPVtI8m/AU7hC2gVSD1d U54+GKD+hYrmURigalDF/FMSlZQTBsy28yNJpXNN0u4WYR4tNhUsh5ykFl9URYb36FrWR7UQ0 do9Af7XgKGhQTWiRVTuYgs7YlOMkkEClKiNzfS6i8FXo7CeG0Zxu1Ua81K5vqdA8Fyv06Tuya TCOKKwGEFi5nziOJ6ybWuumbVm6Vg+GUKG5JM1VmnUIsJU5292k2dR0JYVTY6NQj7Oh1+G/vQ 1Zrl9CO5Gzd5ufm9l2Dgi3+dFjpNAVtAKexKZ/0IubXnY35efzRpDb7HC7Hw8CPTrAXl4dKyG OX2R5Z676111KjzF7/jLk/ULLq3JtnBk1c87JF1NctMRzoVLTyY5ho3D5OI+J4sosNeWrIYP/ 76x4zCFx22Kmd1MWCeKZm7le8zssYXkeatTpDzQx1F2GB/C++IeKV+zBO/1RyRWLQoCCfA78G 65iZamF1gCgfLeoPxmUl+Wc+aav1UAkugvVojbOubpGQ3NfJjpAJR+FYjCyRbwQeB0f2SmO8/ Y5vTToVGhPhnmlECQMZ6MgJApg+hOE9xnffE63PX/MV01hEsRM9rRzl3EuVc6ez3jgESxqaQV 8JLyIYhefqDusPICtbRtSPd5+0Sx8Q8exz00csMk8d/xpGF9VSQ1JePMiLWQpBSWIlyC6VutQ Kjt7gMWFRbze4jaqniqlFlCa8vlidm/hsl7AZNGfn1kEpHbiPdqgKROcnNY= X-Spam-Status: No, score=-95.5 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_DMARC_NONE,KAM_DMARC_STATUS,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_FAIL,SPF_HELO_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Aug 23 20:00, David Allsopp wrote: > Jon Turney wrote: > > I'm confused here: /usr/lib/ocaml/camlheaderd[di] look like executables > > (according to file etc.) > > > > If they genuinely aren't, then perhaps they shouldn't have execute > > permission (which is I think what is causing them to be caught by that > > piece of code in cygport...) > > ocamlc won't care about the executable bit, but these files are _data_ > and so it will care if they end up with a .exe extension, because they > are open'd not exec'd. > > The files themselves form the start of executables produced by ocamlc. > For both Cygwin and native Windows, it's a tiny C program responsible > for locating ocamlrun (on Unix, it's just a shebang line) and the > bytecode itself gets appended. Why is ocaml for Cygwin not produing shebang files as well? After all, we're trying to be as Unix-compatible as possible. Corinna