Some notes on getting the AS MacroAssembler running on Debian (Windows Subsystem for Linux 2, although that shouldn't make a difference).
Precompiled binaries aren't available for Linux, so it's a case of downloading and compiling the C source code. The only tricky bit is getting the compile options set correctly.
- Download and extract the source code:
wget http://john.ccac.rwth-aachen.de:8000/ftp/as/source/c_version/asl-latest.41r8.tar.gz gunzip asl-latest.tar.gz tar xvf asl-latest.tar cd asl-latest
- Copy the default
cp Makefile.def.tmpl Makefile.def
- Issue the
makecommand to compile the executable.
- Make sure that
make testcompletes successfully. I didn't bother with
make installcommand because that needs
latexinstalled to build the documentation, and that would add another 500MB to my Debian installation… easier to just symlink the
aslexecutable from the project where I need it.