This is an old revision of the document!


gputils: GNU PIC Utilities

gputils is an assembler and linker for 8-bit PICMicros.

Tools
sudo apt-get install build-essential subversion bison
Release
cd /usr/src
wget http://downloads.sourceforge.net/project/gputils/gputils/1.4.0/gputils-1.4.0-1.tar.gz
tar zxvf gputils-1.4.0-1.tar.gz
cd gputils-1.4.0-1
./configure --prefix=/usr/local --disable-html-doc
make
make install
SVN
cd /usr/src
svn checkout svn://svn.code.sf.net/p/gputils/code/trunk gputils-svn
cd gputils-svn/gputils
./configure --prefix=/usr/local --disable-html-doc
make
make install
gpasm -v
gpasm-1.5.1 #1293 (Dec 18 2016)
SVN update
cd /usr/src/gputils-svn
svn update
cd gputils
make distclean
./configure --prefix=/usr/local --disable-html-doc
make
make install
gpasm -v
gpasm-1.5.1 #1293 (Dec 18 2016)

Raspberry Pi

Install and enter emulator
Build gputils

Choose one the above methods, release, SVN, or SVN update.

Setup NFS and mount emulator directory on RPi

NFS

Install (Eg. gputils SVN) on RPi
cd /embedded/raspbian/usr/src/gputils-svn/gputils
make install

Cygwin

Install

When installation ends add gputils to the PATH in the dialog box (default).

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies