From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alex Corcoles Newsgroups: gmane.emacs.devel Subject: Interest in a Cosmopolitan build? Date: Tue, 07 Nov 2023 22:23:21 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32918"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.40.4 (3.40.4-9.el9) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 07 22:24:23 2023 Return-path: Envelope-to: ged-emacs-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 1r0TYd-0008Nr-7y for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Nov 2023 22:24:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0TXl-0003UN-CZ; Tue, 07 Nov 2023 16:23:29 -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 1r0TXj-0003UF-Cj for emacs-devel@gnu.org; Tue, 07 Nov 2023 16:23:27 -0500 Original-Received: from mail-lj1-f176.google.com ([209.85.208.176]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r0TXh-00049j-HZ for emacs-devel@gnu.org; Tue, 07 Nov 2023 16:23:27 -0500 Original-Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2c50fbc218bso76639361fa.3 for ; Tue, 07 Nov 2023 13:23:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699392203; x=1699997003; h=content-transfer-encoding:mime-version:user-agent:date:to:from :subject:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=+kaEdS3JFU3pvk1oPd4gGL52W58onoO6M9XPmAr1SVY=; b=ANnO9rtlta0XpZA7U4k4lEdMVNsDenxvS+GAs/+x29qgGu9Htl7Ri98pKrh18/6UWf ExU9i4GF0+TH2uNMPX8bfzjGbsX6KRaRPwdQDLQNWdqEcdcdYfHi4pmW9DL7MODbzFGn imF4ZzHxXkuIkZnMB6FaAjC/yEhmnoZ7hPPFfvaKPP4psl1dPtslr7GQd3XJWXdN5OgW jLxRO2AJJo1xOaaghISbbk7J3bE0UffGm/J6G0huNPrIKy+85z/1WfGS4LO4YzG05pHI 1li+Q9M+X3BFT2JVhOpSRlpHJ1ZcKRjFEzSpl9nfe3iECh9qLq6OfkNc+Ek6KjtkMI5R M83A== X-Gm-Message-State: AOJu0Yyt2hzcUctGkMn2lv+lYL3R18vzBL7dm9BRB7JTvRuhNDg3oBpx iVDxksd4snHwrItd3pW4h/R6oPMK54xuSg== X-Google-Smtp-Source: AGHT+IHepha8ttQqx+c1jDuU5Yoj9rRskHjS01gCojX6YLOMZvlrZPZBqGfFROPr3aqsF1Uu6cSt5A== X-Received: by 2002:a2e:be84:0:b0:2c5:18ed:180a with SMTP id a4-20020a2ebe84000000b002c518ed180amr217207ljr.33.1699392202815; Tue, 07 Nov 2023 13:23:22 -0800 (PST) Original-Received: from molly.mad.int.pdp7.net ([79.116.36.51]) by smtp.gmail.com with ESMTPSA id n10-20020a05600c3b8a00b003fef5e76f2csm408646wms.0.2023.11.07.13.23.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 13:23:22 -0800 (PST) Received-SPF: pass client-ip=209.85.208.176; envelope-from=koalillo@gmail.com; helo=mail-lj1-f176.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:312322 Archived-At: Hi, I submitted this [1] to the help list, but I was suggested this list might be better. I have been able to build Emacs 29.1 using Cosmopolitan. This solves neatly my issue of running the latest version of Emacs in all my systems. Cosmopolitan generates a self-contained binary that can run in different OS and CPU combinations. Is anyone interested in such a build? Currently this requires some hacky patches [2]. Not sure if these are gaps in Cosmopolitan (perhaps I could file some bugs if I knew what to ask), or maybe this is something that could be applied in Emacs itself (at least the enum stuff. The enums I think need to be fixed in a different way)? Even though Cosmopolitan can be considered controversial, I think it can be a nice way to distribute Emacs. Cheers, Álex [1] https://lists.gnu.org/archive/html/help-gnu-emacs/2023-11/msg00010.html [2] https://github.com/alexpdp7/superconfigure/blob/emacs_29.1/emacs-29.1/minimal.diff