NASM (Netwide Assembler) is an 80x86 assembler designed for portability and modularity. It includes a disassembler as well.
Download (HTTP): http://downloads.sourceforge.net/nasm/nasm-0.98.39.tar.bz2
Download MD5 sum: 2032ad44c7359f7a9a166a40a633e772
Download size: 543 KB
Estimated disk space required: 17.3 MB (includes building and installing all docs)
Estimated build time: 0.2 SBU
Required patch to fix a buffer overrun vulnerability: http://www.linuxfromscratch.org/patches/blfs/6.3/nasm-0.98.39-security_fix-1.patch
teTeX-3.0, and ESP Ghostscript-8.15.4 or AFPL Ghostscript-8.53
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/nasm
Install NASM by running the following commands:
patch -Np1 -i ../nasm-0.98.39-security_fix-1.patch && ./configure --prefix=/usr && make && make -C rdoff/doc && make -C rdoff/doc html
To build the base NASM documentation, ensure you have Ghostscript installed and issue:
make doc
To build the RDOFF Postscript documentation, ensure you have teTeX-3.0 installed and issue:
sed -i -e "s/dvips \$</& -o rdoff.ps/" rdoff/doc/Makefile && make -C rdoff/doc ps
To build the RDOFF PDF documentation, ensure you have Ghostscript installed and issue:
make -C rdoff/doc pdf
This package does not come with a test suite.
Now, as the root
user:
make install && make install_rdf && install -v -m644 rdoff/doc/rdoff.info /usr/share/info && install -v -m755 -d /usr/share/doc/nasm/html && install -v -m644 rdoff/doc/v1-v2.txt /usr/share/doc/nasm && cp -v -R rdoff/doc/rdoff /usr/share/doc/nasm/html
If you built the Ghostscript
generated documentation, install it using the following commands as
the root
user:
make install_doc && install -v -m644 rdoff/doc/rdoff.pdf /usr/share/doc/nasm
Lastly, if you built the RDOFF Postscript documentation, install it
using the following command as the root
user:
install -v -m644 rdoff/doc/rdoff.ps /usr/share/doc/nasm
Last updated on 2007-04-04 14:42:53 -0500