This is the basic operation. # is super-user stuff, $ is user stuff. Of course, YMMV. Or probably YMWV (your mileage will vary).
# apt-get install bison
# apt-get install flex
# apt-get install subversion
# apt-get install git
# apt-get install binutils
# apt-get install gcc
# apt-get install g++
# apt-get install libboost-graph-dev
# apt-get install texinfo
$ cd ~
$ svn checkout svn://svn.code.sf.net/p/sdcc/code/trunk sdcc-3.5.2
$ cd sdcc-3.5.2/sdcc
$ ./configure --disable-pic14-port and --disable-pic16-port
$ make
# cd ~/sdcc-3.5.2/sdcc
# make install
Let me know if I'm missing any steps....
Update--just in case you're interested, the tools in ~/sdcc-3.5.2/sdccd/bin/ can be run in gdb. So if something goes awry, I have a fighting chance of diagnosing the problem.
No comments:
Post a Comment