... | ... | @@ -6,7 +6,7 @@ sudo apt install gcc-mips-linux-gnu |
|
|
```
|
|
|
will install the additional tooling needed for compiling C for the MIPS.
|
|
|
### Arch-like distros
|
|
|
An AUR package exists for `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`.
|
|
|
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
|
|
|
Assuming you've followed the general [lab environment guide](https://vesuvio-git.neteq.ltu.se/d0013e-microcomputer-engineering/info/-/wikis/Setting%20Up%20the%20Lab%20Environment) to install MacPorts, running
|
|
|
```bash
|
... | ... | |