Introduction to yasm
Yasm is a complete rewrite of the
NASM-3.01
assembler. It supports the x86 and AMD64 instruction sets, accepts
NASM and GAS assembler syntaxes and outputs binary, ELF32 and ELF64
object formats.
Note
This version of BLFS may not build or run
some packages properly if LFS or dependencies have been updated
since the most recent stable version of the System V
books.
Package Information
yasm Dependencies
Optional
cython-3.2.4 and Python2
Installation of yasm
First, fix a problem when building with gcc-15:
sed -e 's/def __cplusplus/ defined(__cplusplus) || __STDC_VERSION__ >= 202311L/' \
-i libyasm/bitvect.h
Install yasm by running the
following commands:
sed -i 's#) ytasm.*#)#' Makefile.in &&
./configure --prefix=/usr &&
make
To test the results, issue: make -j1
check.
Now, as the root user:
make install