Document -O2/-O3 change
[nasm.git] / INSTALL
blob992b470d92a6dcac8c12d2945ace9b65f6ca1a29
1 Installing nasm from source
2 ===========================
4 Installing nasm is pretty straightforward on UN*X systems with Perl
5 and GNU tools installed.
7 If you checked out source from CVS you will need to run autoconf to
8 generate configure, otherwise you don't have to.
10 $ autoconf
12 Then run configure to detect your platform settings and generate makefiles.
14 $ ./configure
16 You can get information about available configuration options by
17 running `./configure --help`.
19 If configure fails, please send bug report with detailed platform
20 information to <nasm-bugs@lists.sourceforge.net> and we will try to
21 help you asap!
23 If everything went okay, type
25 $ make
27 to build nasm, ndisasm and rdoff tools, or
29 $ make everything
31 to build the former plus the docs.
33 You can decrease the size of produces executables by stripping off
34 unnecessary information, to achieve this run
36 $ make strip
38 If you install to a system-wide location you might need to become
39 root:
41 $ su <enter root password>
43 then
45 $ make install
47 optionally followed by 
49 $ make install_rdf
51 Or you can 
53 $ make install_everything
55 to install everything =)
58 Thats it, enjoy!
60 PS. Installation instructions for other platforms are underway.