1 1. Installing nasm from source (Unix, MacOS X, Windows/Cygwin,
3 2. Installing nasm from source (Windows/MS Visual C++)
6 1. Installing nasm from source (Unix, MacOS X, Windows/Cygwin, Windows/MinGW)
7 =============================================================================
9 Installing nasm is pretty straightforward on Unix or Unix-like systems
10 with Perl and GNU tools installed, including MinGW for Windows with
11 MSYS installed. Perl is optional for compiling unmodified sources
12 from a tarball, but is required to build from git or for most source
15 If you checked out source from git you will need to run autoconf to
16 generate configure, otherwise you don't have to.
21 Then run configure to detect your platform settings and generate makefiles.
25 You can get information about available configuration options by
26 running `./configure --help`.
28 If configure fails, please send bug report with detailed platform
29 information to <nasm-bugs@lists.sourceforge.net> and we will try to
32 If everything went okay, type
36 to build nasm, ndisasm and rdoff tools, or
40 to build the former plus the docs.
42 You can decrease the size of produces executables by stripping off
43 unnecessary information, to achieve this run
47 If you install to a system-wide location you might need to become
50 $ su <enter root password>
56 optionally followed by
62 $ make install_everything
64 to install everything =)
70 2. Installing nasm from source (Windows/MS Visual C++)
71 ======================================================
73 The recommended compiler for NASM on Windows is MinGW
74 (http://www.mingw.org), but it is also possible to compile with
75 Microsoft Visual C++ (tested with Visual C++ 2005 Express Edition.)
77 To do so, start the "Visual C++ Command Shell", go to the directory
78 where the NASM source code was extracted, and run:
80 > nmake /f Mkfiles/msvc.mak
82 We recommend MinGW over Visual C++ 2005 as we have found it to be more
83 up to date with regards to C99 compliance, and we are increasingly
84 using C99 features in NASM.