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: MPS: native comp Date: Tue, 30 Apr 2024 16:26:19 +0300 Message-ID: <86sez3oubo.fsf@gnu.org> References: <86y18vow8z.fsf@gnu.org> 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="5296"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, emacs-devel@gnu.org, eller.helmut@gmail.com To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 30 15:27:07 2024 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 1s1nVi-000155-2j for ged-emacs-devel@m.gmane-mx.org; Tue, 30 Apr 2024 15:27:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1nV8-0000Eo-P1; Tue, 30 Apr 2024 09:26:30 -0400 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 1s1nV4-0000EG-FX for emacs-devel@gnu.org; Tue, 30 Apr 2024 09:26:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1nV4-0003s3-47; Tue, 30 Apr 2024 09:26:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=4b63ijityild4xaO5amAPIoeHqA262LjrPR7AQgJvU8=; b=Bse3ixCvnlCMIGYT6kPk erT761M1S9Uklu35DKhsnpds6BCN0C4sqC1D1MHPThR6optiCHfveWWMsof9s4seP9MJkfFPaDhqu ZVtDZHIy895l5QsRkzJKNYThEBm9oEHtjZYOJ/jKBEyq9aKGlS0XC1RIouV4r5yqsOOunHXPNn68R Su7tlOdhXIw7c2E/xHNCcBRVqvwdCFJIGhkiBOrlSOongeY8HgqTNHunOP4ax/E9AC3tAcjfM0nJg G3FoEYIt3USms0+snTbC0fCKqJQPCCtSpdhFPTrvdkwWgtiSrnUwZ39RBPxt+Z7cMFClP6nEjppTo br7ebKZKHl7jGQ==; In-Reply-To: (message from Andrea Corallo on Tue, 30 Apr 2024 09:05:40 -0400) 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:318429 Archived-At: > From: Andrea Corallo > Cc: Gerd Möllmann , > emacs-devel@gnu.org, > eller.helmut@gmail.com > Date: Tue, 30 Apr 2024 09:05:40 -0400 > > Eli Zaretskii writes: > > > FTR, I've built MPS on Trisquel GNU/Linux with no trouble at all. > > There's a ready makefile in the tarball, you just need to run it. > > > > MPS doesn't use Autoconf (well, it does, but not the way we are used > > to). Instead, for every platform it supports OOTB it has a makefile > > ready to run. > > Okay thanks for the info, I tried ./configure + make on the repo > checking out the latest release but this failed on my machine. Also I > was puzzled there are instruction to build it using only the compiler > like 'cd code && cc -O2 -c mps.c' (but I wanted have it installed as > well). You should read manual/build.txt. It tells you to run the following to build MPS on a 64-bit GNU/Linux with GCC: cd code && make -f lii6gc.gmk To test, read design/tests.txt; basically you should run cd code && make -f lii6gc.gmk VARIETY=cool testall cd code && make -f lii6gc.gmk VARIETY=hot testall If you want to install it (not manually, but by "make install"), then yes, you need to do ./configure --prefix=PREFIX make install But then you are at the mercy of the few platforms supported by the configure script (although for GNU/Linux you should be okay).