Set up the Assembly Environment (nasm) in linux and linuxnasm

Source: Internet
Author: User

Set up the Assembly Environment (nasm) in linux and linuxnasm

Step 1: first determine whether the system has installed nasm -------------> open the terminal and run whereis nasm. IfNasm:/usr/bin/nasm is installed. If only nasm: is displayed, It is not installed.

The second release: Go to the official website to download the latest version of the source code for compiling http://www.nasm.us/, for example, nasm-x.xx. ta. gz, X. XX. Is the version number.

Step 3 Start installation,

First, extract the downloaded compressed package: tar xzvfNasm-X.XX. ta. gz;

Then cdNasm-X. XXAnd enter./Configure{The configure script will find the most appropriate C compiler and generate the corresponding makefile file}

Enter make to create the binary code of nasm and ndisasm.

Finally, enter make install for installation (this step requires the root permission)

Make install will load nasm and ndisasm into/usr/local/bin and install the corresponding man pages.

If you want to verify whether the installation is successful, enter whereis nasm (see step 1)

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.