Difference between revisions of "NASM"

From CBLFS
Jump to navigationJump to search
(Introduction to NASM)
(I filled in the package description.)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
 
| http://prdownloads.sourceforge.net/nasm/nasm-{{NASM-Version}}.tar.bz2
 
| http://prdownloads.sourceforge.net/nasm/nasm-{{NASM-Version}}.tar.bz2
|-
+
|-valign="top"
 
!Required Patch:
 
!Required Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/nasm/nasm-{{NASM-Version}}-security_fix-1.patch
 
| http://svn.cross-lfs.org/svn/repos/patches/nasm/nasm-{{NASM-Version}}-security_fix-1.patch
Line 12: Line 12:
 
== Introduction to NASM ==
 
== Introduction to NASM ==
  
<Package Description Needed>
+
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 Home Page''': http://sourceforge.net/projects/nasm/
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 21:23, 31 January 2007

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 Home Page: 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