... | ... | @@ -5,6 +5,8 @@ Running |
|
|
sudo apt install gcc-mips-linux-gnu
|
|
|
```
|
|
|
will install the additional tooling needed for compiling C for the MIPS.
|
|
|
|
|
|
**NOTE:** This assumes you already have installed binutils-mips-linux-gnu by following the general [lab environment guide](https://vesuvio-git.neteq.ltu.se/d0013e-microcomputer-engineering/info/-/wikis/Setting%20Up%20the%20Lab%20Environment), i.e., it will not work with the SDE tooling.
|
|
|
### Arch-like distros
|
|
|
An AUR package exists for [`mips-elf-gcc`](https://aur.archlinux.org/packages/mips-elf-gcc). By default, `makepkg` comes with the `-Werror=format-security` CFLAG enabled, turning formatting security warnings into compilation errors. Compiling `mips-elf-gcc` raises a couple of these warnings, making the package build fail. To fix this, you can overwrite the default `makepkg` CFLAGS in `/etc/makepkg.conf`.
|
|
|
## MacOS
|
... | ... | |