Refer to nasm's Chinese manual for Reference
1.3.2 install NASM on UNIX
If you get the NASM source package 'nasm-x.xx.tar.gz 'in Unix (here, X. XX indicates
NASM version), decompress it to a directory, such as '/usr/local/src '. The package will be created after being decompressed
Your own subdirectory 'nasm-X. xx'
NASM is an automatically configured installation package: Once you decompress it, 'cd' to its directory, enter './configure ',
This script will find the best C compiler to construct NASM and create makefiles accordingly.
Once NASM is automatically configured, you can enter 'make' to construct the 'nasm' and 'ndisasm 'binary files,
Enter 'make install' to install them to '/usr/local/bin', and install the man page
'NASM. 1 and 'ndisasm. 1' under'/usr/local/man/man1', or you can give the configuration script
'-- Prefix' option to specify the installation directory, or you can install it on your own.
NASM also comes with a set of utilities for processing the 'rdoff' target file formatProgram, They are in the 'rdoff' subdirectory,
You can use 'make RDF 'to construct them and use 'make rdf_install' to install them. If you need
Yes.
If NASM fails to be automatically configured, you can use the 'makefile. unx' file to compile the files,
Rename the file 'makefile' and enter 'make '. There is also
Makefile. UNX file.