NASM

From CBLFS
Revision as of 12:48, 16 April 2007 by Jciccone (talk | contribs)
Jump to navigationJump to search
Download Source: http://prdownloads.sourceforge.net/nasm/nasm-2.07.tar.bz2
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/nasm/nasm-2.07-security_fix-1.patch

Introduction to NASM

NASM is prototype general-purpose x86 assembler. It supports a number of different binary formats including flat-form binary files, a.out, ELF, COFF, Microsoft 16-bit OBJ and Win32, OS/2 object files, the as86 object format, and a home-grown format called RDF. Its syntax is designed to be simple and easy to understand, similar to Intel's but less complex. It supports Pentium, P6, MMX, 3DNow! and SSE opcodes, and has macro capability.

Also included is NDISASM, a prototype x86 binary-file disassembler which uses the same instruction table as NASM.

Project Homepage: http://sourceforge.net/projects/nasm/

Dependencies

Optional (For Building Documentation)

Non-Multilib

Compile the package:

patch -Np1 -i ../nasm-2.07-security_fix-1.patch &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

patch -Np1 -i ../nasm-2.07-security_fix-1.patch &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

patch -Np1 -i ../nasm-2.07-security_fix-1.patch &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr &&
make

Install the package

make install

64Bit

Compile the package:

patch -Np1 -i ../nasm-2.07-security_fix-1.patch &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
make

Install the package

make install

Documentation

Retrieved from "?title=NASM&oldid=9033"