From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Bloat in Windows (revisited) Date: Tue, 18 Jun 2019 19:29:43 +0300 Message-ID: <83wohisvpk.fsf@gnu.org> References: <874l53g0yk.fsf@russet.org.uk> <83y32erdlt.fsf@gnu.org> <87imtieaiv.fsf@russet.org.uk> <871s01uo4c.fsf@russet.org.uk> <838su5z812.fsf@gnu.org> <8f0cc494-50fd-c1b0-d667-48831ca8dc13@gmail.com> <8736kdxj8m.fsf@russet.org.uk> <87tvco5hjd.fsf@russet.org.uk> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="31752"; mail-complaints-to="usenet@blaine.gmane.org" Cc: nikolay.kudryavtsev@gmail.com, emacs-devel@gnu.org To: phillip.lord@russet.org.uk (Phillip Lord) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 18 19:14:14 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hdHgT-000873-5U for ged-emacs-devel@m.gmane.org; Tue, 18 Jun 2019 19:14:13 +0200 Original-Received: from localhost ([::1]:60350 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdHgS-0002sV-2A for ged-emacs-devel@m.gmane.org; Tue, 18 Jun 2019 13:14:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53928) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdGzQ-0000HD-Kz for emacs-devel@gnu.org; Tue, 18 Jun 2019 12:29:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hdGzM-0001EM-C5; Tue, 18 Jun 2019 12:29:42 -0400 Original-Received: from [176.228.60.248] (port=2298 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hdGzD-00063y-CJ; Tue, 18 Jun 2019 12:29:35 -0400 In-reply-to: <87tvco5hjd.fsf@russet.org.uk> (phillip.lord@russet.org.uk) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237855 Archived-At: > From: phillip.lord@russet.org.uk (Phillip Lord) > Date: Mon, 17 Jun 2019 16:59:50 +0100 > Cc: emacs-devel@gnu.org > > Nikolay Kudryavtsev writes: > > > I see. You asking for help with Windows made me assume too much. Since > > MinGW64 can be ran on Unix, I assumed that you managed to do just > > that. Actually have anyone ever tried that? Is there some big problem > > that would prevent this from working, or it's just a lot of work in > > adapting scripts and getting dependencies compiling? > > Eli can probably answer this much better than I. For Emacs-26, there is > unexec functionality which is going to be platform specific, although I > presume that problem goes away with the portable dumper which is (I > guess) portable. > > After that, the basic problem is that Emacs is build using Emacs; first > temacs, then bootstrap-emacs. So, you have to be able to run Emacs on > the platform that you are building it on, which conflicts with the idea > of cross compliation. That's right: any program that needs to be run as part of its build breaks cross-building, because cross-building produces binaries that cannot be run on the host where they are compiled. This is not Windows specific, this is a known limitation of Emacs: it cannot be cross-built. (Most, if not all, of the dependency packages Phillip builds and bundles _can_ be cross-compiled, though.)