updated ubuntu notes for installing cc65 in home dir to avoid possible conflict

This commit is contained in:
Egan Ford 2021-08-22 11:56:57 -06:00
parent 505035859c
commit 85fa3a60af

View file

@ -1,22 +1,27 @@
# Ubuntu Build Notes
> Assumes building from your home directory. Tested with `docker run --rm -it ubuntu:21.04 /bin/bash`
## deps
```
cd
sudo apt-get -qy update
sudo apt-get -qy install build-essential git wget curl bsdmainutils unzip
wget https://github.com/mrdudz/cc65-old/raw/master/cc65-sources-2.13.3.tar.bz2
sudo apt-get -qy install build-essential git curl bsdmainutils unzip
curl -LO https://github.com/mrdudz/cc65-old/raw/master/cc65-sources-2.13.3.tar.bz2
tar xvf cc65-sources-2.13.3.tar.bz2
cd cc65-2.13.3/
sed -i 's!/usr/local!'$HOME/cc65-2.13.3.bin'!' make/gcc.mak
mkdir -p $HOME/cc65-2.13.3.bin
make -f make/gcc.mak
sudo make -f make/gcc.mak install
make -f make/gcc.mak install
```
## build
```
cd
export PATH=$HOME/cc65-2.13.3.bin/bin:$PATH
git clone https://github.com/datajerk/c2t
cd c2t
make clean