Last active
June 15, 2021 02:18
-
-
Save ogatatsu/0aa1187038b301c1556685108d1fcf72 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
sudo apt upgrade | |
sudo apt install build-essential | |
sudo apt install libgmp-dev | |
sudo apt install libmpc-dev | |
sudo apt install libmpfr-dev | |
wget http://core.ring.gr.jp/pub/GNU/binutils/binutils-2.33.1.tar.gz | |
tar xvzf binutils-2.33.1.tar.gz | |
cd ./binutils-2.33.1 | |
./configure --target=h8300-elf --disable-nls | |
make | |
sudo make install | |
cd ~ | |
wget http://core.ring.gr.jp/pub/GNU/gcc/gcc-9.2.0/gcc-9.2.0.tar.gz | |
tar xvzf gcc-9.2.0.tar.gz | |
cd ./gcc-9.2.0 | |
./configure --target=h8300-elf --disable-nls --disable-threads --disable-shared --enable-languages=c | |
make all-gcc | |
sudo make install-gcc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment