Merged 230 back into the main tree
[fw/sdcc] / doc / INSTALL.txt
1 SDCC Binary Kit Install Help
2 ----------------------------
3 $Id$
4
5 For Linux users:
6 sdcc is designed to install into /usr/local, and currently needs to be
7 recompiled to install into any other location.  To install:
8
9 * Extract the binary kit to a temporary directory.  This will create a
10 new directory called 'sdcc' in the temporary directory.
11     cd ~
12     mkdir tmp
13     cd tmp
14     tar xzf path/to/binary/kit/sdcc.tar.gz
15
16 * Change to the sdcc directory and copy all files to /usr/local
17     cd sdcc
18     cp -r * /usr/local
19
20 This will install sdcc into /usr/local/bin/sdcc, support files into
21 /usr/local/share/sdcc, and documentation into
22 /usr/local/share/doc/sdcc.
23
24 You can test the install by entering:
25     /usr/local/bin/sdcc -v
26
27 This should return sdcc's version number.
28  
29
30 For Windows 9X/NT/2000 users:
31 sdcc is designed to install into c:\sdcc and currently needs to be
32 recompiled to install into any other location.  To install:
33
34 * Open sdcc-2.3.0-i586-mingw32-msvc.zip in WinZip
35 * Extract all files to c:\, making sure to check 'Use folder names'
36
37 You can test the install by opening a DOS box and entering:
38     c:\sdcc\bin\sdcc -v
39
40 This should return sdcc's version number.