Difference between revisions of "NASM"

From CBLFS
Jump to navigationJump to search
(Dependencies)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/nasm/nasm-0.98.39.tar.bz2
+
| http://prdownloads.sourceforge.net/nasm/nasm-{{NASM-Version}}.tar.bz2
 
|-
 
|-
 
!Required Patch:
 
!Required Patch:
| http://svn.cross-lfs.org/svn/repos/patches/nasm/nasm-0.98.39-security_fix-1.patch
+
| http://svn.cross-lfs.org/svn/repos/patches/nasm/nasm-{{NASM-Version}}-security_fix-1.patch
 
|}
 
|}
  
Line 24: Line 24:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../nasm-0.98.39-security_fix-1.patch &&
+
  patch -Np1 -i ../nasm-{{NASM-Version}}-security_fix-1.patch &&
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 39: Line 39:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../nasm-0.98.39-security_fix-1.patch &&
+
  patch -Np1 -i ../nasm-{{NASM-Version}}-security_fix-1.patch &&
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
 
  make
 
  make
Line 51: Line 51:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../nasm-0.98.39-security_fix-1.patch &&
+
  patch -Np1 -i ../nasm-{{NASM-Version}}-security_fix-1.patch &&
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr &&
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr &&
 
  make
 
  make
Line 63: Line 63:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../nasm-0.98.39-security_fix-1.patch &&
+
  patch -Np1 -i ../nasm-{{NASM-Version}}-security_fix-1.patch &&
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
 
  make
 
  make

Revision as of 14:37, 17 December 2006

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 (Netwide Assembler) is an 80x86 assembler designed for portability and modularity. It includes a disassembler as well.

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=5441"