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