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: Can't build previous versions of Emacs? Date: Sun, 17 Jul 2022 08:35:39 +0300 Message-ID: <83fsj0qp1w.fsf@gnu.org> References: <202207162059.26GKxcqr011878@freefriends.org> <87tu7gh8ba.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4614"; mail-complaints-to="usenet@ciao.gmane.io" Cc: karl@freefriends.org, raman@google.com, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 17 07:37:11 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 1oCwxr-00013V-1p for ged-emacs-devel@m.gmane-mx.org; Sun, 17 Jul 2022 07:37:11 +0200 Original-Received: from localhost ([::1]:44348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCwxp-00077w-MM for ged-emacs-devel@m.gmane-mx.org; Sun, 17 Jul 2022 01:37:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCwwf-0006QU-QA for emacs-devel@gnu.org; Sun, 17 Jul 2022 01:35:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41616) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCwwf-00070T-ET; Sun, 17 Jul 2022 01:35:57 -0400 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=Deeb0B4dvLsQSFdcklxqJwbf8rZq+3CzTEqAcgMApCY=; b=QItH1koqp2OM WazfeIrMoaXIACpcuWhlmuMoakpitsddeHLAQkywRvG3+ZM+eDdxIbYYizod51sAGPTBM1VozsIAX s+WJnJfYXLcdBKuCT/VhnyKywe2JLCTLPzBQA9LEIecRYqskGezeOmubrJOCa4Rc49m9+STw+UH0D ceNlSwc9ULOxdhK70mqY2duFRwN5pZ04u0T4TJiwnvWGQl1zoQrfauvgINXcLsHnNQUL/H2xNkTQ7 iliN9Uv+5icrNrOFqwrgfSXluijKCguIrgOQLw5YY1tu+YOAXgW/+TUwiIARV+GGfRARXb6VNeXMF S9xvhMWpsAzJkadga4K4Xg==; Original-Received: from [87.69.77.57] (port=1328 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 1oCwwe-0006th-UG; Sun, 17 Jul 2022 01:35:57 -0400 In-Reply-To: <87tu7gh8ba.fsf@yahoo.com> (message from Po Lu on Sun, 17 Jul 2022 08:49:45 +0800) 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:292218 Archived-At: > From: Po Lu > Cc: raman@google.com, emacs-devel@gnu.org > Date: Sun, 17 Jul 2022 08:49:45 +0800 > > Karl Berry writes: > > > FWIW, I was able to compile e21 on a current x86_64 machine running > > Alma Linux 8 (I doubt the os matters much) with the attached. > > Copied in m/amdx86-64.h from 22.3 as a starting point. I didn't try to > > include X support, since I had no interest in it. > > Nice. I was able to build Emacs 19.34 on a modern Fedora system. I > wrote some new machine files based on the existing Alpha support, but > just that unfortunately did not quite work, since it made assumptions > about the DEC Alpha calling convention. So most of the work ended up > being writing prototypes for the many implicitly declared functions, > since returning int simply doesn't work (unlike on the Alpha.) My hats off to MS-Windows, whose libc stability and backward compatibility allow me to run and debug _today_ all the original binaries of Emacs from 21.4 all the way to 28.1, each binary as it was built in its own time. "Modern" systems have a lesson to learn there.