From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.devel Subject: Guile 64-bit Windows support, redux Date: Tue, 6 Jun 2023 20:50:46 +0000 (UTC) Message-ID: <1629803116.370682.1686084646758@mail.yahoo.com> References: <1629803116.370682.1686084646758.ref@mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5751"; mail-complaints-to="usenet@ciao.gmane.io" To: "guile-devel@gnu.org" Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Tue Jun 06 22:51:24 2023 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q6deF-0001If-SA for guile-devel@m.gmane-mx.org; Tue, 06 Jun 2023 22:51:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6ddr-0001tH-2n; Tue, 06 Jun 2023 16:50:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6ddp-0001sp-Mw for guile-devel@gnu.org; Tue, 06 Jun 2023 16:50:58 -0400 Original-Received: from sonic308-2.consmr.mail.bf2.yahoo.com ([74.6.130.41]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6ddn-0001vI-5o for guile-devel@gnu.org; Tue, 06 Jun 2023 16:50:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1686084651; bh=PzJtsiBFWuj8LL6S8+Y2uPAQkNPo1dRdKUUcqJV64b0=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=Rt29rvbYLfZUlHWPaSKTQrp0WSC3nXidW/OscbBVi68WOhu4j+IpcVz+vb8GQn09XdKQvcT+NuQJfM8FFYmyjFcgsqc82M9Q5hdWYUd1/tlB+gkfrppx36qRAktAvjlXx1vygcdHbNeWKWjpFXqcAv3ijXXpYa/oUUrGLAiFlGQf94ELzS9OaDGanQUg+p8F3ksEo60oivlJ2wd2eaZkqj1aPjX1YYRSCzDqugJPFEwL3gqbY2mf9/rzStZF/zCUF+A3lGpmbDT4/YvDjjA/2HioMTiA6cXjRmEWMHAg3Wg3t9uJgNUaiLjRk8BziVTzW1gWc4MxwCdzPHrvKlwIWw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1686084651; bh=R11E60k5ci/J+sRKhbT+VfVCYU+o+l387jKs+/R4bmu=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=cWAM18cyqSNtA5Qk+rf8Nhty5JMg6CKLE4UYSzYyTbCJgZaDcXxIZ8iFQ1PnUq3zeHtxVqbEVg92d/XKS1u8wEC+LweFDLsGDdO0i/Qy1pxF60mFhRFq6729sC366/a5rg7qiUe5s1qrVlJulHD1JCiRkDk+1MyNn05g81DSWlyQog1oDlunbb73NffLPpXVkq9FtUb0iYXPXVlzQMNScdFKQKwaL3RjA/EWhSwnj2bx9qS9lYiCgBfAojbWj/g5ydTcwxxBRN4YjUbEl7V+zYNv9prZz1ThAFlkxC1eXJjDd1cku2vuM2oPMuRybWH5VsInylXTIM2pt+gvP8qG4w== X-YMail-OSG: ZBBK0qQVM1kIdolfcolrBsb8K6bireOySuxX5.IjK1Dn7QqeFP.8DYu18lM8FH7 Dl48NkmNWvKwF2lobc1AZb13J8T4yZ6LBSqelorCT77b3ITXd3_8FtsWBcU0TSN0oaBrR80L.3Ek Qqe8.sG7vrhdr5R4JbG2Fn1mi23uI4BICMRIQx0jCGGcGz2gFjSMh9O1NxkSdaszJUD555XMM9xV ZevvrUPB0lQSJUy.fptpL0IdzVYGh9GYj.njE.Ak8Xq5DT2VH7EnLFQMpzyW2..LeCPGXfZrk4.c yDTwRR8WL9tOD7cdZ2glWkpe_SOhpWAV2P.kUAikM.cmv8H4k7sKq0W5OwsIMDu11GGEOhKiy9yE VrFawX1Q00B5wGtTwEhNK2vnYoW0k7O4Tro2L2dYH_Bln_jk4nIeMdgE2K33NDTPN4Lk.Fe1qygv v3u1TAL5ljUXdstE5ZhxYbIrWKXDIRi7sa.F85l8B9fYcpF3WMTsZVMNu1BTPoO7V_fHHScNhxdK 4U7ye3fVDtsrPKxMnfjRMRtjJvv_ZAwm6seTSn6WLcfd2lp203jZ_YznO2I.iaZet0dA2wcZJ5b3 sjBIydElF12vnU4bnkvGhEl8lW7vm9W0KeVKVtCb1RQ64mVkIRQQ0gi8x7wFsoKQqe7EV7OcuDc6 fN9GeTUuGHgVT.AUGyXdenAG0EfJOQsdWOKt2cwRttsa4kXZRmPq_L_6ah_lyveVsYe5D8d1WQ6V hEQ1.esfubdQSrF0.lB1PJAsoRC8epsUX7pNFr340LGz66YtIrbiN6fPrVyV5aIulLKd0abT3B.5 kNXIgC1Gb6seGVINACco1FAsqv18kUQY6.N4aRzMeh X-Sonic-MF: X-Sonic-ID: fd441468-be7c-47bf-9f74-9e0f96cea4d6 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.bf2.yahoo.com with HTTP; Tue, 6 Jun 2023 20:50:51 +0000 X-Mailer: WebService/1.1.21516 YMailNorrin Received-SPF: pass client-ip=74.6.130.41; envelope-from=spk121@yahoo.com; helo=sonic308-2.consmr.mail.bf2.yahoo.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:21850 Archived-At: Hello Guile, There have been a few times where I made Guile work on=C2=A0 MinGW -- usually the 32-bit, unthreaded variety -- because I wanted it for my own entertainment.=C2=A0 Often around the time of the Lisp Game Jam. The Game Jam just happened, so I was poking it again.=C2=A0 Although I never actually delivered my game this year. Janneke has also poked at Windows support a few times as well, and he actually got it to run on 64-bit Windows. I'd be willing [1] to update the patches for MinGW support for review and inclusion into the main branch for 3.0.10 or 3.2 but, only if maintainers are open, in principle, to committing the most disruptive patch: the one where all long integers become intptr_t to deal with Window's stupid 4-byte longs on 64-bit OSs.=C2=A0 Without agreeing on that as a possibility, 64-bit Windows support is DOA. There are a couple of slightly outdated versions of janekke's 64-bit patch. Here, for example: https://git.savannah.gnu.org/cgit/guile.git/commit/?h=3Dwip-mingw&id=3D7695= 0b4281c7dfff78b9ead6d3d62c070bbc1f13 Lately, with GitHub providing decent zero-cost Windows images for their CI/CD actions, it should be possible to do a nightly pull and 'make distcheck' off the main branch for Windows, Ubuntu, and MacOS, without requiring the developer to use non-free tools directly.=C2=A0 (But lots of non-free Javascript and who-knows-what on GitHub's side of things.) If this could be set up, it might stop the Windows build from getting stale so quickly. Also, it might be that this isn't worth doing.=C2=A0 After all, you can run Guile on Cygwin and Guix on WSL on Windows 10/11 already.=C2=A0 But some projects that depend on Guile do deliver on Windows using customized versions of 2.2 or 1.8. Let me know what you think. -Mike Gran [1] Last two times I volunteered myself for something on Guile/Guix, I got quite ill. Let's not hope for a repeat.