emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS: native comp


From: Visuwesh
Subject: Re: MPS: native comp
Date: Tue, 30 Apr 2024 19:15:42 +0530
User-agent: Gnus/5.13 (Gnus v5.13)

[செவ்வாய் ஏப்ரல் 30, 2024] Eli Zaretskii wrote:

>> 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).

If you're using a newer gcc though, you will get bit by a warning about
dangling-pointer and the build stops.  See 
https://github.com/Ravenbrook/mps/issues/256.

If I remove -Werror from the gc.gmk, I can finish the compilation.



reply via email to

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