From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Thompson, David" Newsgroups: gmane.lisp.guile.user Subject: Re: [EXT] relocatable guile on windows Date: Wed, 7 Dec 2022 08:55:10 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33832"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user@gnu.org To: Mike Gran Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Dec 07 14:55:59 2022 Return-path: Envelope-to: guile-user@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 1p2utz-0008WO-1S for guile-user@m.gmane-mx.org; Wed, 07 Dec 2022 14:55:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2utZ-0000QA-8i; Wed, 07 Dec 2022 08:55:36 -0500 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 1p2utU-0000Mm-FI for guile-user@gnu.org; Wed, 07 Dec 2022 08:55:28 -0500 Original-Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2utR-0007aO-MZ for guile-user@gnu.org; Wed, 07 Dec 2022 08:55:28 -0500 Original-Received: by mail-lj1-x235.google.com with SMTP id f16so9317424ljc.8 for ; Wed, 07 Dec 2022 05:55:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=worcester-edu.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=GSK91tUaM7vDHqAjVnL/qKfYJrusuE2qzZlgl7grmxw=; b=j2X1mRxhvgvm9PDFNMTnuH7pM9lS91KTS0g0PNunCQYLXmN49zH5LkqWdpw7/oEcOy 4wcRqIUUXIbB3rLNMKo0GpgfiwbrsF4iQgoPjQfakQHYb7O+HorfYMdPmJ0yjoAdRVow KLt5q1vvtcqNIDnHI1Usb7vXFDMnL9k7JX0lULmsx1GuiewyUFKWrW0mtMW8XN4kRkqr 6DeC0kfgdV/kJ3hPob8+bmY13tXXQSlTZYdlHhIqkgNhj8XwVAO1b99oDnm+jZUtIhpQ W0gSIK+Q7YftC8CZXxw669S93vqReqggBsRfy9dK/D+h0KQaGe85t73uu4x8W3CCBgHZ 6+yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=GSK91tUaM7vDHqAjVnL/qKfYJrusuE2qzZlgl7grmxw=; b=5hhK3fFE/4CfkwZ5YZje7OQbDbniExvUzgaHBlPvjPtfbUyBGRRLxCoFfjH5Y932ru ANx935A4yWKf1Mi+Cd29XMEETkoAFa2lQ2di1G4wNcPWJ3hRWrlsqvQkpfnlx/MCjeRi 5JCiIBwhARs54ksy3+HxuYeTa7EV1a4wM6v4FqxTzDoNY29NRekInfw+X4UYRi1RRdLy dGJ4pCee5ja4kwsxS+NR+kGKz8KRz50BBvxR+KtHXgr0YJKe9p1Ma+OYsw6OlN4vCAnj UWV7yViGPWnxV5f1ZsWiALRoWLZlFCESCnQbZwHn7gvjnXiG/k6a0ktyXhUZ8VHScn6h hHPQ== X-Gm-Message-State: ANoB5pnMcf44rcGAEZShNbWuT3d92PZT+pSwVBF6aIpUZIKuPg0zbHw8 aG4gMG64YMPjtprn+HX5M4NknaI1f809GmR8LBsqHw== X-Google-Smtp-Source: AA0mqf7K6smL+Sdp1ctvq2SEfKmlnmTUq7w3E4/ER6GVfp7HLDZZY6ZVQlhvmfHQZmOwCuXXcrynM1Ftt92q3PSTKW4= X-Received: by 2002:a2e:b004:0:b0:279:c02e:7457 with SMTP id y4-20020a2eb004000000b00279c02e7457mr11814362ljk.475.1670421321288; Wed, 07 Dec 2022 05:55:21 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::235; envelope-from=dthompson2@worcester.edu; helo=mail-lj1-x235.google.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:18764 Archived-At: Hi Mike, On Sat, Dec 3, 2022 at 9:49 PM Mike Gran wrote: > > Hello Guile, > > The Lisp Game Jam was a few weeks ago, and in prep, I took a stab an > making Guile work better on Windows, using MinGW MSys64 UCRT64 for > compilation. Little did I imagine that it would take a couple months > to make something servicable, so I never got around to actually making > a game. > > This Guile is a fork with a lot of hacks for Windows: lack of > POSIX shell, DLL nonsense, Windows filesystem instead of FHS, > yadda yadda yadda. The biggest hack is that of making > all the file paths relative to the guile executable, so that > it can be distributed as a single zip file or MSIX install file. I haven't had a chance to try this out yet but I wanted to say that this is great work! I'd really like to have a good story to tell for shipping games built with Guile and Chickadee on Windows. In the past I've tried to cross-compile Guile for Windows from Linux and made it as far as getting Guile 3 to boot, but the JIT didn't work and I think threads, though enabled, were broken. I haven't used Windows for development in over 10 years so I'm somewhat helpless when things go wrong. It would be really great if we could organize a bit around upstreaming patches for proper Windows support and come up with some documentation with official recommendations for how to build for Windows. I never know what the best approach is: cygwin? mingw? native build (more work than the other two)? A lot of other Scheme implementations run on Windows, so Guile should, too. - Dave