NASM-0.98.39

Introduction to NASM

NASM (Netwide Assembler) is an 80x86 assembler designed for portability and modularity. It includes a disassembler as well.

Package Information

Additional Downloads

NASM Dependencies

Optional (for Building Documentation)

teTeX-3.0, and ESP Ghostscript-8.15.2 or AFPL Ghostscript-8.53

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/nasm

Installation of 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

Contents

Installed Programs: nasm, ndisasm, ldrdf, rdf2bin, rdf2com, rdf2ihx, rdfdump, rdflib, and rdx
Installed Libraries: None
Installed Directories: /usr/share/doc/nasm

Short Descriptions

nasm

is a portable 80x86 assembler.

ndisasm

is an 80x86 binary file disassembler.

ldrdf

is an RDOFF linker.

rdfdump

dumps the contents of an RDOFF file.

rdflib

is an RDOFF librarian.

rdx

is used to load and execute an RDOFF module.

Last updated on 2007-01-15 17:25:53 -0600