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
|
2017-11-21 18:22:26 +00:00
|
|
|
*** [[https://github.com/oriansj/mescc-tools][mescc-tools]], 0.4 is known to work.
|
|
|
|
*** [[https://savannah.gnu.org/projects/nyacc][Nyacc]], [[https://gitlab.com/janneke/nyacc][patched Nyacc]] 0.80.42 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-11-21 18:22:26 +00:00
|
|
|
**** [[https://github.com/oriansj/mescc-tools][mescc-tools]], 0.4 is known to work.
|
|
|
|
**** [[https://savannah.gnu.org/projects/nyacc][Nyacc]], [[https://gitlab.com/janneke/nyacc][patched Nyacc]] 0.80.42 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
|
|
|
**** /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
|
|
|
|
|
2016-10-16 09:24:41 +00:00
|
|
|
* Check it
|
|
|
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
* Install it
|
|
|
|
|
|
|
|
make install
|
2016-12-10 21:47:13 +00:00
|
|
|
* Guix it...
|
|
|
|
|
|
|
|
guix package -f guix.scm
|