Difference between revisions of "NASM"

From CBLFS
Jump to navigationJump to search
(Introduction to NASM)
(Multilib)
 
(5 intermediate revisions by 3 users not shown)
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
|-
 
!Required Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/nasm/nasm-{{NASM-Version}}-security_fix-1.patch
 
 
|}
 
|}
  
 
----
 
----
  
== Introduction to NASM ==
+
{{Package-Introduction|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.
  
<Package Description Needed>
+
Also included is NDISASM, a prototype x86 binary-file disassembler which uses the same instruction table as NASM.|http://sourceforge.net/projects/nasm/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 24: Line 21:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../nasm-{{NASM-Version}}-security_fix-1.patch &&
 
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 35: Line 31:
 
'''''This package does not provide any libraries so only one installation is needed.'''''
 
'''''This package does not provide any libraries so only one installation is needed.'''''
  
=== 32Bit ===
+
=== 64Bit ===
  
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../nasm-{{NASM-Version}}-security_fix-1.patch &&
+
  CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
 
 
  make
 
  make
  
Line 47: Line 42:
 
  make install
 
  make install
  
=== N32 ===
+
== Contents ==
  
Compile the package:
+
{| style="text-align: left;"
 
+
|-valign="top"
patch -Np1 -i ../nasm-{{NASM-Version}}-security_fix-1.patch &&
+
!Installed Directories:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr &&
+
|None
make
+
|-valign="top"
 
+
!Installed Programs:
Install the package
+
|nasm, ndisasm
 
+
|-valign="top"
make install
+
!Installed Libraries:
 
+
|None
=== 64Bit ===
+
|}
 
 
Compile the package:
 
 
 
patch -Np1 -i ../nasm-{{NASM-Version}}-security_fix-1.patch &&
 
CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
 
make
 
 
 
Install the package
 
 
 
make install
 
  
== Documentation ==
+
[[Category:Programming]]

Latest revision as of 12:05, 12 September 2009

Download Source: http://prdownloads.sourceforge.net/nasm/nasm-2.07.tar.bz2

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:

./configure --prefix=/usr &&
make

Install the package

make install

Multilib

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

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
make

Install the package

make install

Contents

Installed Directories: None
Installed Programs: nasm, ndisasm
Installed Libraries: None
Retrieved from "?title=NASM&oldid=19129"