Yes I know the title reads as though I am somewhat of a masochist, and while this might be true, it does have a reason... I promise...
Recently refreshing an old build of my Pi 2B+ - despite all of the SBC's I have this one kinda... well calls me... even if I have a Zero 2 / +3A / CM4 / Pi 400 and Radxa CM3 as well as an incomming Pi 5 in the next couple of weeks.... this Pi 2B+ .... Quad Core Arm v7 .... 1gb ram... theres just something...
Anyway I have been refreshing the OS / Apps on the device and upgrading to a 64GB card - however... upon installing NeoFetch / Fuse and Snap Store... there seems to be a problem when installing Z88dk from the Snap-Store - in that when I attempt to compile an existing / hello world project - I am met with a clueless bash that doesn't know anything about ZCC
Code: Select all
zetr0@raspberrypi:~ $ zcc
bash: zcc: command not found
Code: Select all
export PATH=${PATH}:${HOME}/z88dk/bin
export ZCCCFG=${HOME}/z88dk/lib/config
Figured it was a snap-store issue and decided to "wget" and compile it on the Pi - I followed these ( probably out of date instructions )
https://www.retrocompute.co.uk/compilin ... pberry-pi/
And it terminated with an error during compilation
Code: Select all
gcc -g -O2 -Wall -std=gnu11 -MMD -pedantic -I../common -c -o ti8xk.o ti8xk.c
ti8xk.c:20:10: fatal error: gmp.h: no such file or directory
20 | #include <gmp.h> // not much you can do about he GNU multi-percision library
compilation terminated
Any ideas as to how to get this to work again would be appreciated...... this something about setting up a Dev Environment on an SBC...
Thanks for reading.