From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed Date: Sun, 30 Jan 2022 09:59:09 +0200 Message-ID: <83wnihac36.fsf@gnu.org> References: <65b2a18bc1a597333b42d35a2717dc33@russet.org.uk> <86lezg95ud.fsf_-_@duenenhof-wilhelm.de> <83h7a4zu89.fsf@gnu.org> <86czks94vl.fsf@duenenhof-wilhelm.de> <86v8yj7vhv.fsf@duenenhof-wilhelm.de> <83v8yjyj21.fsf@gnu.org> <87sftmn1k9.fsf@russet.org.uk> <83sftmwner.fsf@gnu.org> <87mtjump5q.fsf@russet.org.uk> <86h7a25nz7.fsf@duenenhof-wilhelm.de> <878rve85yy.fsf@russet.org.uk> <86a6fu3xb2.fsf@duenenhof-wilhelm.de> <87tue1j8x0.fsf@russet.org.uk> <86wniw3kdq.fsf@duenenhof-wilhelm.de> <83tue0u8sh.fsf@gnu.org> <86sftk3evj.fsf@duenenhof-wilhelm.de> <83o848tc92.fsf@gnu.org> <86o8473k13.fsf@duenenhof-wilhelm.de> <83ee53ssbx.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20071"; mail-complaints-to="usenet@ciao.gmane.io" Cc: corwin@bru.st, emacs-devel@gnu.org, phillip.lord@russet.org.uk To: "H. Dieter Wilhelm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 30 09:03:25 2022 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 1nE5BF-00051s-1s for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jan 2022 09:03:25 +0100 Original-Received: from localhost ([::1]:54766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nE5BD-00077E-LG for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jan 2022 03:03:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nE57F-0005ZP-4s for emacs-devel@gnu.org; Sun, 30 Jan 2022 02:59:17 -0500 Original-Received: from [2001:470:142:3::e] (port=43152 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nE57E-0001zC-Le; Sun, 30 Jan 2022 02:59:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1WQRqp9pvr1owPdDIxYHe5v5wuHcEjT6Rm4FrSYQsMY=; b=mNagIOmraleN ezWBOdQBDX17CNnt7VF0DIVp2JW5EdKPmkx8l97OWER7mFGYZ+fh51+FphqcbwulrMhXFXEOcqUts 3RCeAz50r+4EKKJMRqsIe17vh/O8hBUt1dljgQsJ9jq+e91IaDyuK7ouJxe4j+INS/1L8xoh+nPBi jW7/Efbj40c3qczkT3vTJqNf3PFcxfJ5fIewtlAFqt25smtqUgJmXo0fXb4BEDhh76XxzAiJYVVZ0 1rRZadLuyP6CNyRbZ0BXpIlpUL6Kf9CxQI42jwAaXNztMOVyeQw0WBH6ax25705Yun16PUg3z7X9k XWrJ1qQhfqXLE9kS9OHOow==; Original-Received: from [87.69.77.57] (port=4457 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nE57E-0000zB-6e; Sun, 30 Jan 2022 02:59:16 -0500 In-Reply-To: (dieter@duenenhof-wilhelm.de) 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" Xref: news.gmane.io gmane.emacs.devel:285591 Archived-At: > From: "H. Dieter Wilhelm" > Cc: corwin@bru.st, phillip.lord@russet.org.uk, emacs-devel@gnu.org > Date: Sat, 29 Jan 2022 22:32:46 +0100 > > Eli Zaretskii writes: > > > 1. First, I build the package (in this case, Emacs) as usual: > > $ ./configure --prefix=... > > $ make > > 2. Then I install it in a special place: > > $ make install --prefix=/some/directory > > 3. Then to produce a zip file with all the installed files, I go to > > /some/directory and invoke 'zip': > > $ zip -9r ./bin ./include ./lib ./libexec ./share ./var > > Why is the folder ./var necessary? > > (var/ wasn't installed on my system (28.0.91).) It was used at some point in the past. If it doesn't exist in the installed tree, it isn't needed. > > (be sure to mention all the top-level directories). Now, the tricky > > part is between steps 2 and 3. To make the zip file self-contained, > > you need to populate /some/directory tree with the dependencies. If > > those are DLLs, simply copy all of them into /some/directory/bin/. If > > there are other dependencies, they should go > > It seems that only > > libgmp-10.dll > > is a prerequisite to get Emacs (28.0.91) running on a Windows system > without MSYS and > > libXpm-noX4.dll > > provides a nicer logo and icons. (I didn't test much functionality > yet.) > > In /nt/README.W32 is a list of further dependencies provided in MSYS2 > packages: > > mingw-w64-x86_64-giflib > mingw-w64-x86_64-gnutls > mingw-w64-x86_64-libjpeg-turbo > mingw-w64-x86_64-libpng > mingw-w64-x86_64-librsvg > mingw-w64-x86_64-libtiff > mingw-w64-x86_64-libxml2 > mingw-w64-x86_64-xpm-nox > mingw-w64-x86_64-lcms2 > > are above dependencies considered as the absolut minimal set for a state > of the art Emacs under Windows? They are not the "absolute minimum", but they are nice to have, yes. Assuming you built Emacs with all those features, of course. But the up-to-date list is in nt/INSTALL.W64, and it includes a few more packages (notably, HarfBuzz).