Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:sdcc [2015/01/10 15:49] – [sdcc: Small Device C Compiler] darrontools:sdcc [2017/01/11 16:39] (current) darron
Line 1: Line 1:
 ==== sdcc: Small Device C Compiler ==== ==== sdcc: Small Device C Compiler ====
 +
 +sdcc is a C compiler for various microprocessors and micro-controllers including 8-bit PICMicros.
  
 == release == == release ==
Line 21: Line 23:
 make install make install
 sdcc -v sdcc -v
-SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8 3.4.#8964 (Mar 30 2014) (Linux)+SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8 3.6.#9820 (Linux)
 published under GNU General Public License (GPL) published under GNU General Public License (GPL)
 </code> </code>
Line 35: Line 37:
 make install make install
 sdcc -v sdcc -v
-SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8 3.4.#9157 (Jan 10 2015) (Linux)+SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8 3.6.#9820 (Linux)
 published under GNU General Public License (GPL) published under GNU General Public License (GPL)
 </code> </code>
Line 45: Line 47:
  
 == Enter emulator == == Enter emulator ==
-[[tools:raspbian|Raspbian]]+[[tools:raspbian-emu|Raspbian emulator]]
  
 == Build sdcc == == Build sdcc ==
Line 54: Line 56:
 [[tools:nfs|NFS]] [[tools:nfs|NFS]]
  
-== Install (SVN) on RPi ==+== Install (Eg. sdcc SVN) on RPi ==
 <code> <code>
-cd /embedded/raspbian/usr/src/gputils-svn/gputils 
-make install 
 cd /embedded/raspbian/usr/src/sdcc-svn/sdcc cd /embedded/raspbian/usr/src/sdcc-svn/sdcc
-ln -/embedded/raspbian/usr/src/sdcc-svn/ /usr/src/+ln -sf /embedded/raspbian/usr/src/sdcc-svn/ /usr/src/
 make install make install
 </code> </code>
  
-=== Windows ===+The symbolic link above is important for installation due to an unknown bug in the build process.
  
 +=== Cygwin ===
 [[http://sf.net/projects/sdcc/files/sdcc-win32/3.3.0/sdcc-3.3.0-setup.exe/download|Install]] [[http://sf.net/projects/sdcc/files/sdcc-win32/3.3.0/sdcc-3.3.0-setup.exe/download|Install]]
  
 When installation ends add sdcc to the PATH in the dialog box (default). When installation ends add sdcc to the PATH in the dialog box (default).