X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=doc%2FINSTALL.txt;h=1484b51b4b8813b38826e2b8c5d55e478ad0727c;hb=bf919669224dcb6abe41c10cfdce48b87b42504b;hp=0759cf09ad2c04f3dbd6d4c7b89114f3240a7b78;hpb=071639b6e938dc46f1903862d9de4d41e489b910;p=fw%2Fsdcc diff --git a/doc/INSTALL.txt b/doc/INSTALL.txt index 0759cf09..1484b51b 100644 --- a/doc/INSTALL.txt +++ b/doc/INSTALL.txt @@ -1,40 +1,83 @@ SDCC Binary Kit Install Help ---------------------------- -$Id$ For Linux users: -sdcc is designed to install into /usr/local, and currently needs to be -recompiled to install into any other location. To install: +================ +To install: -* Extract the binary kit to a temporary directory. This will create a -new directory called 'sdcc' in the temporary directory. +* Extract the binary kit to a temporary directory. + This will create a new directory called 'sdcc' in the temporary directory. cd ~ mkdir tmp cd tmp - tar xzf path/to/binary/kit/sdcc.tar.gz + tar xjf path/to/binary/kit/sdcc-2.9.0-i386-unknown-linux2.5.tar.bz2 * Change to the sdcc directory and copy all files to /usr/local cd sdcc cp -r * /usr/local -This will install sdcc into /usr/local/bin/sdcc, support files into -/usr/local/share/sdcc, and documentation into -/usr/local/share/doc/sdcc. +This will install sdcc binaries into: /usr/local/bin/ +header files into: /usr/local/share/sdcc/include/ +library files into: /usr/local/share/sdcc/lib/ +and documentation into: /usr/local/share/sdcc/doc/ You can test the install by entering: /usr/local/bin/sdcc -v This should return sdcc's version number. - -For Windows 9X/NT/2000 users: -sdcc is designed to install into c:\sdcc and currently needs to be -recompiled to install into any other location. To install: +Even if the default search paths look into /usr/local, sdcc is fully +relocatable. Try `sdcc --print-search-dirs` if you have problems with header +or library files. See sdccman.[txt|pdf|html] for more detailed information. -* Open sdcc-2.3.0-i586-mingw32-msvc.zip in WinZip -* Extract all files to c:\, making sure to check 'Use folder names' + +For Windows 9X/NT/2000/XP users: +================================ +To install: + +* If you would like to keep a copy of your previous version, + rename the directory where it's installed first +* Run sdcc-2.9.0-setup.exe + +By default this will install sdcc binaries into: C:\Program Files\SDCC\bin\ +header files into: C:\Program Files\SDCC\include\ +library files into: C:\Program Files\SDCC\lib\ +and documentation into: C:\Program Files\SDCC\doc\ You can test the install by opening a DOS box and entering: - c:\sdcc\bin\sdcc -v + sdcc -v This should return sdcc's version number. + +sdcc for win32 is fully relocatable. Try `sdcc --print-search-dirs` if you +have problems with header or library files. See sdccman.[txt|pdf|html] for +more detailed information. + + +For Mac OS X users: +=================== +To install: + +* Extract the binary kit to a temporary directory. + This will create a new directory called 'sdcc' in the temporary directory. + cd ~ + mkdir tmp + cd tmp + tar xjf path/to/binary/kit/sdcc-2.9.0-universal-apple-macosx.tar.bz2 + +* Change to the sdcc directory and copy all files to /Developer/sdcc + cp -r sdcc /Developer/sdcc + +This will install sdcc binaries into: /Developer/sdcc/bin/ +header files into: /Developer/sdcc/share/sdcc/include/ +library files into: /Developer/sdcc/share/sdcc/lib/ +and documentation into: /Developer/sdcc/share/sdcc/doc/ + +You can test the install by entering: + /Developer/sdcc/bin/sdcc -v + +This should return sdcc's version number. + +Even if the default search paths look into /usr/local, sdcc is fully +relocatable. Try `sdcc --print-search-dirs` if you have problems with header +or library files. See sdccman.[txt|pdf|html] for more detailed information.