NASM (Netwide Assembler) is an 80x86 assembler designed for portability and modularity. It includes a disassembler as well.
This package is known to build and work properly using an LFS-8.3 platform.
Download (HTTP): http://www.nasm.us/pub/nasm/releasebuilds/2.13.03/nasm-2.13.03.tar.xz
Download MD5 sum: d5ca2ad7121ccbae69dd606b1038532c
Download size: 788 KB
Estimated disk space required: 27 MB
Estimated build time: 0.2 SBU
Optional documentation: http://www.nasm.us/pub/nasm/releasebuilds/2.13.03/nasm-2.13.03-xdoc.tar.xz
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/nasm
If you downloaded the optional documentation, put it into the source tree:
tar -xf ../nasm-2.13.03-xdoc.tar.xz --strip-components=1
Apply some upstream fixes, which are needed for compiling with gcc-8.1:
sed -e '/seg_init/d' \ -e 's/pure_func seg_alloc/seg_alloc/' \ -i include/nasmlib.h
Install NASM by running the following commands:
./configure --prefix=/usr && make
This package does not come with a test suite.
Now, as the root
user:
make install
If you downloaded the optional documentation, install it with the
following instructions as the root
user:
install -m755 -d /usr/share/doc/nasm-2.13.03/html && cp -v doc/html/*.html /usr/share/doc/nasm-2.13.03/html && cp -v doc/*.{txt,ps,pdf} /usr/share/doc/nasm-2.13.03
Last updated on 2018-08-18 12:42:11 -0700