From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Multi-platform build system Date: Fri, 14 Oct 2011 09:18:17 -0400 Message-ID: References: <83pqi01rcl.fsf@gnu.org> <87vcrsbgzb.fsf_-_@wanadoo.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318598313 8952 80.91.229.12 (14 Oct 2011 13:18:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2011 13:18:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?=D3scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 14 15:18:30 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1REhef-0005S5-0r for ged-emacs-devel@m.gmane.org; Fri, 14 Oct 2011 15:18:29 +0200 Original-Received: from localhost ([::1]:47821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REhee-0000EZ-HD for ged-emacs-devel@m.gmane.org; Fri, 14 Oct 2011 09:18:28 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REheY-0000EO-5a for emacs-devel@gnu.org; Fri, 14 Oct 2011 09:18:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1REheX-0003Mv-3D for emacs-devel@gnu.org; Fri, 14 Oct 2011 09:18:22 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:30773 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REheX-0003Mn-0Y for emacs-devel@gnu.org; Fri, 14 Oct 2011 09:18:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAHQ2mE5FxJoX/2dsb2JhbABDqF2BBoFTAQEEAVYjBQsLNBIUGA0QAROIEbdsh20EoSOERQ X-IronPort-AV: E=Sophos;i="4.69,346,1315195200"; d="scan'208";a="141861656" Original-Received: from 69-196-154-23.dsl.teksavvy.com (HELO ceviche.home) ([69.196.154.23]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 14 Oct 2011 09:18:17 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 443F7660B6; Fri, 14 Oct 2011 09:18:17 -0400 (EDT) In-Reply-To: <87vcrsbgzb.fsf_-_@wanadoo.es> (=?iso-8859-1?Q?=22=D3scar?= Fuentes"'s message of "Fri, 14 Oct 2011 01:37:44 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145215 Archived-At: > Time ago I volunteered to write a CMake [1] build spec for Emacs. It was > considered unnecessary by the people who does most of the work on the > current build systems. I will have some free time (sigh) on the next > months, so I reiterate the offer in case anyone changed his mind. I'm not sure I understand the way the discussion is going (at least from a rational point of view ;-). So I'll start over from the beginning. Currently Emacs has 2 build systems: one that is a mix of old-style ad-hoc config files (predefined per system in src/m and src/s) and autoconf+make, and another one for Windows builds. We could use CMake to replace either (or both) of them: - I don't think only replacing the Windows build systems would be a great improvement. - Getting rid of the duplication between the two build systems would be nice. - I don't know what would be the benefit of replacing the autoconf system: I'd be very happy to get rid of the src/m and src/s config files (we've already made significant progress in this direction) but I don't think using CMake would magically do that for us. And it would add `cmake' as an additional build-dependency (compared to autoconf which is not absolutely needed to build Emacs). I have no experience with CMake, so it's hard to know whether it would be a good change or not. But I would be interested to see what that would look like. Stefan