Install NASM in Linux

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.