emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MPS: native comp


From: Eli Zaretskii
Subject: Re: MPS: native comp
Date: Tue, 30 Apr 2024 16:26:19 +0300

> From: Andrea Corallo <acorallo@gnu.org>
> Cc: Gerd Möllmann <gerd.moellmann@gmail.com>,
>   emacs-devel@gnu.org,
>   eller.helmut@gmail.com
> Date: Tue, 30 Apr 2024 09:05:40 -0400
> 
> Eli Zaretskii <eliz@gnu.org> 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).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]