2016-10-16 09:24:41 +00:00
|
|
|
-*- org -*-
|
|
|
|
Building and Installing Mes
|
|
|
|
|
|
|
|
* Get it
|
|
|
|
|
|
|
|
git clone https://gitlab.com/janneke/mes
|
|
|
|
|
|
|
|
* Prerequisites
|
2017-06-08 18:39:24 +00:00
|
|
|
** Bootstrapping
|
2017-07-09 16:40:12 +00:00
|
|
|
For bootstrapping, the M1 macro assembler and hex2 linker and Nyacc
|
|
|
|
*** [[https://github.com/oriansj/MESCC_Tools][MESCC_Tools]], 0.2 is known to work.
|
|
|
|
*** [[https://savannah.gnu.org/projects/nyacc][Nyacc]], 0.80.3 is known to work.
|
2017-06-08 18:39:24 +00:00
|
|
|
For development
|
|
|
|
** Development
|
|
|
|
For development, there are some more dependencies.
|
|
|
|
*** Guix
|
2016-10-16 09:24:41 +00:00
|
|
|
|
2017-04-02 15:01:29 +00:00
|
|
|
guix environment -l guix.scm #64 bit + 32bit
|
|
|
|
guix environment --system=i686-linux -l guix.scm #32 bit only
|
|
|
|
|
2017-06-08 18:39:24 +00:00
|
|
|
*** Other GNU/Linux
|
2017-07-09 16:40:12 +00:00
|
|
|
**** [[https://github.com/oriansj/MESCC_Tools][MESCC_Tools]], 0.2 is known to work.
|
|
|
|
**** [[https://savannah.gnu.org/projects/nyacc][Nyacc]], 0.80.3 is known to work.
|
2017-06-08 18:39:24 +00:00
|
|
|
**** GNU Gcc, 4.9.3 is known to work.
|
2016-10-16 09:24:41 +00:00
|
|
|
The idea is to drop this requirement, of course.
|
|
|
|
|
2017-06-08 18:39:24 +00:00
|
|
|
**** GNU Guile, version 2.0.12 or is know to work.
|
2016-10-16 09:24:41 +00:00
|
|
|
Guile is not strictly necessary but it is used by the configure script
|
|
|
|
and in development.
|
|
|
|
|
2017-06-08 18:39:24 +00:00
|
|
|
**** GNU Make, version 4.0 is know to work.
|
2016-10-16 09:24:41 +00:00
|
|
|
Not strictly necessary.
|
|
|
|
|
2017-06-08 18:39:24 +00:00
|
|
|
**** /bin/sh, GNU Bash 4.3 is known to work.
|
2016-10-16 09:24:41 +00:00
|
|
|
Let's just say for now that it gets awkward without a shell.
|
|
|
|
|
2017-06-08 18:39:24 +00:00
|
|
|
**** GNU coreutils
|
|
|
|
**** sed, GNU sed 4.2 is known to work.
|
|
|
|
**** git, 2.10 is known to work.
|
|
|
|
**** Perl, 5.22 is known to work.
|
2016-10-16 09:24:41 +00:00
|
|
|
|
|
|
|
* Build it
|
|
|
|
|
|
|
|
./configure
|
2017-05-22 21:35:39 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
** For a quick build, skip running mescc on Mes
|
|
|
|
make MES_SKIP_MES=1
|
2016-10-16 09:24:41 +00:00
|
|
|
|
|
|
|
* Check it
|
|
|
|
|
|
|
|
make check
|
|
|
|
|
2017-05-22 21:35:39 +00:00
|
|
|
** For a quick check, skip running mescc on Mes
|
|
|
|
make MES_SKIP_MES=1
|
|
|
|
|
2016-10-16 09:24:41 +00:00
|
|
|
* Install it
|
|
|
|
|
|
|
|
make install
|
2016-12-10 21:47:13 +00:00
|
|
|
* Guix it...
|
|
|
|
|
|
|
|
guix package -f guix.scm
|