Difference between revisions of "Yasm"
From CBLFS
Jump to navigationJump to search (I updated the package description.) |
Weibullguy (talk | contribs) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 7: | Line 7: | ||
---- | ---- | ||
− | + | {{Package-Introduction|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.|http://www.tortall.net/projects/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. | ||
− | |||
− | |||
== Dependencies == | == Dependencies == | ||
=== Optional === | === Optional === | ||
+ | * [[Python]] | ||
+ | * [[Pyrex]] | ||
* [[xmlto]] | * [[xmlto]] | ||
+ | |||
+ | == 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 == | == Non-Multilib == | ||
Line 22: | Line 26: | ||
Compile the package: | Compile the package: | ||
− | ./configure --prefix=/usr && | + | CC="gcc -fPIC" ./configure --prefix=/usr && |
make | make | ||
Line 35: | Line 39: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD32}" ./configure --prefix=/usr && | + | USE_ARCH=32 CC="gcc -fPIC ${BUILD32}" ./configure --prefix=/usr && |
make | make | ||
Line 46: | Line 50: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && | + | USE_ARCH=n32 CC="gcc -fPIC ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && |
make | make | ||
Line 57: | Line 61: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 && | + | USE_ARCH=64 CC="gcc -fPIC ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 && |
make | make | ||
Line 69: | Line 73: | ||
|-valign="top" | |-valign="top" | ||
! Installed Programs: | ! Installed Programs: | ||
− | | | + | | yasm |
|-valign="top" | |-valign="top" | ||
! Installed Libraries: | ! Installed Libraries: | ||
− | | | + | | libyasm.a |
|-valign="top" | |-valign="top" | ||
! Installed Directories: | ! Installed Directories: | ||
− | | | + | | ${PREFIX}/include/libyasm |
|} | |} | ||
Line 91: | Line 95: | ||
| ??? | | ??? | ||
|} | |} | ||
+ | |||
+ | [[Category:Programming]] |
Latest revision as of 01:47, 21 April 2009
Download Source: | http://www.tortall.net/projects/yasm/releases/yasm-0.8.0.tar.gz |
---|
Contents
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
Compile the package:
USE_ARCH=32 CC="gcc -fPIC ${BUILD32}" ./configure --prefix=/usr && make
Install the package
make install
N32
Compile the package:
USE_ARCH=n32 CC="gcc -fPIC ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && make
Install the package
make install
64Bit
Compile the package:
USE_ARCH=64 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} | ??? |