X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=doc%2FINSTALL.txt;h=adb34169edcd18a058b846d4d7cf5f5a0a16b4b0;hb=04a66f4aa0c6a3cf27d0b5339a74ed8e4f92f1a6;hp=65b93198afaec41fcc5f73cf84b4b35debefa8b6;hpb=b27e68b601abafc563bebf0c653d1dd11e49d542;p=fw%2Fsdcc diff --git a/doc/INSTALL.txt b/doc/INSTALL.txt index 65b93198..adb34169 100644 --- a/doc/INSTALL.txt +++ b/doc/INSTALL.txt @@ -1,43 +1,83 @@ SDCC Binary Kit Install Help ---------------------------- -$Id$ For Linux users: -Even if the default search paths look into /usr/local, sdcc is fully -relocatable. Try `sdcc --print-search-dirs` if you've problems with header or -library files. See sdccman.[txt|pdf|html] for more detailed information. - +================ 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.8.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/sdcc/doc. +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. - + +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. + For Windows 9X/NT/2000/XP users: -Even if the default search paths look into c:\sdcc, sdcc is fully relocatable. +================================ To install: -* Open sdcc-2.4.0-i586-mingw32-msvc.zip in WinZip -* Extract all files to c:\, making sure to check 'Use folder names' +* If you would like to keep a copy of your previous version, + rename the directory where it's installed first +* Run sdcc-2.8.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.8.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.