User Tools

Site Tools


installing_gputils_and_sdcc_on_debian_linux

This is an old revision of the document!


Linux can be simpler or harder than other platforms.

In it's easiest form depending on what type of PIC you programming, you may only have to issue the following commands.

[code] # apt-get install sdcc # apt-get install gputils [/code]

Then all you need to do from there is issue the make command while in the folder with the .asm's.

[code] # make [/code]

However, if you're compiling a SID firmware and you have Debian etc or even Ubuntu in Dapper or earlier, you probably have gpasm-0.13.4 which does not have the ability to compile code for the PIC 18f4685. You can check what version you're using by issuing the below command.

[code] # gpasm –version [/code]

If your version is too old you probably can't just install a newer version, as the newer version is only available for Lenny and is not compatible with the older Etch (or what have you). I used gpasm-0.13.6 and it successfully built the newest Midibox SID code without a hitch. This means that what we must do is compile and install from the source code. Follow the link below and follow the link for the most recent version. As of this writing the most current version was for “Lenny” and is 0.13.6

[http://packages.debian.org/search?keywords=gputils]

installing_gputils_and_sdcc_on_debian_linux.1228313859.txt.gz · Last modified: 2008/12/03 14:17 by napierzaza