Yasm

From CBLFS
Revision as of 20:35, 20 April 2009 by Tdshepard (talk | contribs) (need USE_ARCH to build with python support)
Jump to navigationJump to search
Download Source: http://www.tortall.net/projects/yasm/releases/yasm-0.8.0.tar.gz

Introduction to Yasm

Yasm is a complete rewrite of the NASM assembler under the new BSD license. It currently supports the x86 and AMD64 instruction sets, accepts NASM and GAS assembler syntaxes, outputs binary, ELF32, ELF64, COFF, Win32, and Win64 object formats, and generates source debugging information in STABS, DWARF 2, and CodeView 8 formats.

Project Homepage: http://www.tortall.net/projects/yasm/

Dependencies

Optional

Configuration Information

If you would like to compile with Python support and bindings add the following to the configure command:

--enable-python --enable-python-bindings

Non-Multilib

Compile the package:

CC="gcc -fPIC" ./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Caution.png

Note

If you compile with Python support and bindings, be sure USE_ARCH is set to 32 during the build, to use the correct python executable while building.

Compile the package:

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

Install the package

make install

N32

Compile the package:

CC="gcc -fPIC ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

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

Install the package

make install

Contents

Installed Programs: yasm
Installed Libraries: libyasm.a
Installed Directories: ${PREFIX}/include/libyasm

Short Descriptions

program1 ???
program2 ???
library1.{a,la,so} ???
Retrieved from "?title=Yasm&oldid=18242"