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 [2016/12/18 15:21] – [Raspberry Pi] 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 44: Line 46:
 [[tools:gputils]] [[tools:gputils]]
  
-== Install and enter emulator ==+== Enter emulator ==
 [[tools:raspbian-emu|Raspbian emulator]] [[tools:raspbian-emu|Raspbian emulator]]
  
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 -sf /embedded/raspbian/usr/src/sdcc-svn/ /usr/src/ ln -sf /embedded/raspbian/usr/src/sdcc-svn/ /usr/src/
Line 63: Line 63:
 </code> </code>
  
 +The symbolic link above is important for installation due to an unknown bug in the build process.
  
 === Cygwin === === Cygwin ===