Copyright (C) 2000-2012 |
GNU Info (nasm.info)Section 1.3.21.3.2. Installing NASM under Unix --------------------------------- Once you've obtained the Unix source archive for NASM, `nasm-X.XX.tar.gz' (where `X.XX' denotes the version number of NASM contained in the archive), unpack it into a directory such as `/usr/local/src'. The archive, when unpacked, will create its own subdirectory `nasm-X.XX'. NASM is an auto-configuring package: once you've unpacked it, `cd' to the directory it's been unpacked into and type `./configure'. This shell script will find the best C compiler to use for building NASM and set up Makefiles accordingly. Once NASM has auto-configured, you can type `make' to build the `nasm' and `ndisasm' binaries, and then `make install' to install them in `/usr/local/bin' and install the man pages `nasm.1' and `ndisasm.1' in `/usr/local/man/man1'. Alternatively, you can give options such as `--prefix' to the configure script (see the file `INSTALL' for more details), or install the programs yourself. NASM also comes with a set of utilities for handling the `RDOFF' custom object-file format, which are in the `rdoff' subdirectory of the NASM archive. You can build these with `make rdf' and install them with `make rdf_install', if you want them. If NASM fails to auto-configure, you may still be able to make it compile by using the fall-back Unix makefile `Makefile.unx'. Copy or rename that file to `Makefile' and try typing `make'. There is also a Makefile.unx file in the `rdoff' subdirectory. automatically generated by info2www version 1.2.2.9 |