User Tools

Site Tools


installing_gputils_and_sdcc_on_debian_linux

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
installing_gputils_and_sdcc_on_debian_linux [2008/12/03 15:13]
napierzaza
installing_gputils_and_sdcc_on_debian_linux [2011/07/27 15:45] (current)
digineural Removed Spam
Line 1: Line 1:
 +====== Installing GPUtils and SDCC on Debian ======
 Linux can be simpler or harder than other platforms. Linux can be simpler or harder than other platforms.
 +
 +===== Install the binaries (AKA the easy version =====
  
 In it's easiest form depending on what type of PIC you programming,​ you may only have to issue the following commands. ​ In it's easiest form depending on what type of PIC you programming,​ you may only have to issue the following commands. ​
Line 10: Line 13:
  
   # make   # make
 +===== Compile GPUtils (AKA the harder version) =====
  
-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. +However, if you're compiling a SID firmware and you have Debian ​Etch 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.
  
   # gpasm --version   # gpasm --version
Line 20: Line 23:
 http://​packages.debian.org/​search?​keywords=gputils http://​packages.debian.org/​search?​keywords=gputils
  
-Once you have the package on your Linux system issue the command to unpack the source code, move into the new directory and build the package.+Once you have the package on your Linux system issue the command to unpack the source code, move into the new directory and build the package. Then you'll be presented with a new .deb package ready for installing on your system.
  
   # tar -xf gputils_0.13.6.orig.tar   # tar -xf gputils_0.13.6.orig.tar
   # cd gputils_0.13.6   # cd gputils_0.13.6
 +  # dpkg-buildpackage -rfakeroot -b
 +  # cd ..
 +  # dpkg -i gputils_0.13.6-1_i386.deb
  
 +Now just go to your mios folder and issue the make command as usual.
  
-==WIP==+  # cd ~/​user/​mios_sid_RC25 
 +  # make
  
 +Note: The biggest issues you'll have with this HowTo is that there are certain dependencies in building these sorts of things that you will have to install. Sometimes it will say that it can't without something specific like "​bison",​ which you can easily install using "​apt-get install bison";​ but other times it only references a binary inside a package of a DIFFERENT name. This means that you'll have to search around a bit, maybe using "​apt-cache search foo" or maybe also on the internet to figure out what package you need to install.
  
installing_gputils_and_sdcc_on_debian_linux.1228317201.txt.gz · Last modified: 2008/12/03 15:13 by napierzaza