mirror of
https://git.planet-casio.com/Lephenixnoir/sh-elf-gcc.git
synced 2024-12-28 20:43:39 +01:00
14 lines
512 B
Markdown
14 lines
512 B
Markdown
|
# Automatic `sh-elf-gcc` installer
|
||
|
|
||
|
This script can be used to automatically compile and install a GCC cross-compiler targeting SH3 and SH4 calculators. The normal use is with GiteaPC:
|
||
|
|
||
|
```
|
||
|
% giteapc install Lephenixnoir/sh-elf-gcc
|
||
|
```
|
||
|
|
||
|
You can also install manually. First install [`sh-elf-binutils`](https://gitea.planet-casio.com/Lephenixnoir/sh-elf-binutils), then run the GiteaPC Makefile with a manually-specified install prefix:
|
||
|
|
||
|
```
|
||
|
% make -f giteapc.make configure build install PREFIX=$HOME/.local
|
||
|
```
|