Compilation environment building under Linux (NASM)

Source: Internet
Author: User
Tags root access

The first step: first determine if the system has installed NASM---------------> Open terminal, execute Whereis nasm; if nasm:/usr/bin/nasm is displayed, it is already installed, if only NASM: is displayed, it is not installed.

Second cloth: to the official website to download the latest version of the source code compiled http://www.nasm.us/, such as nasm-x.xx. Ta. gz,x.xx. is the version number.

The third step starts the installation,

First, download the resulting compressed package, unzip: Tar xzvf nasm-x.xx. ta. gz;

Then CD nasm-x. XX and enter the ./configure {Configure script will look for the most appropriate C compiler and generate the corresponding makefile file}

Then enter make to create NASM and ndisasm binary code

Last enter make install for installation (this step requires root access)

The make install will load NASM and ndisasm into the/usr/local/bin and install the corresponding man pages.

If you want to verify that the installation is successful, enter Whereis NASM (see first step)

Compilation environment building under Linux (NASM)

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.