* doc/README.txt,
[fw/sdcc] / doc / INSTALL.txt
1 SDCC Binary Kit Install Help
2 ----------------------------
3 $Id$
4
5 For Linux users:
6 Even if the default search paths look into /usr/local, sdcc is fully
7 relocatable. Try `sdcc --print-search-dirs` if you've problems with header or
8 library files. See sdccman.[txt|pdf|html] for more detailed information.
9
10 To install:
11
12 * Extract the binary kit to a temporary directory.  This will create a
13 new directory called 'sdcc' in the temporary directory.
14     cd ~
15     mkdir tmp
16     cd tmp
17     tar xzf path/to/binary/kit/sdcc.tar.gz
18
19 * Change to the sdcc directory and copy all files to /usr/local
20     cd sdcc
21     cp -r * /usr/local
22
23 This will install sdcc into /usr/local/bin/sdcc, support files into
24 /usr/local/share/sdcc, and documentation into
25 /usr/local/share/sdcc/doc.
26
27 You can test the install by entering:
28     /usr/local/bin/sdcc -v
29
30 This should return sdcc's version number.
31  
32
33 For Windows 9X/NT/2000/XP users:
34 Even if the default search paths look into c:\sdcc, sdcc is fully relocatable.
35 To install:
36
37 * Open sdcc-2.4.0-i586-mingw32-msvc.zip in WinZip
38 * Extract all files to c:\, making sure to check 'Use folder names'
39
40 You can test the install by opening a DOS box and entering:
41     c:\sdcc\bin\sdcc -v
42
43 This should return sdcc's version number.