1
0
mirror of https://github.com/bebbo/amiga-gcc.git synced 2025-11-19 23:50:55 +00:00

Merge branch 'master' into cnvogelg/darwin-arm64-fixes

This commit is contained in:
Stefan "Bebbo" Franke
2021-11-27 19:09:22 +01:00
committed by GitHub

View File

@ -46,7 +46,6 @@ CC=gcc-11 CXX=g++-11 gmake all SHELL=$(brew --prefix)/bin/bash
**ALSO NOTE** If you want `m68k-amigaos-gdb` then you have to build it with `gcc`
### macOs on Mi1
Native builds on M1 Macs are now directly supported.
### Windows with Cygwin
@ -134,3 +133,25 @@ m68k-amigaos-gcc test.cpp -mcrt=nix13
```
The include files for 1.3 - which are picked up by the compiler if `-mcrt=nix13` is used - can be found at `<PREFIX>/m68k-amigaos/ndk13-include` i.E. `/opt/amiga/m68k-amigaos/ndk13-include`
## Checking gcc
To check the built version you may consider to run the gcc dejagnu tests. This does not cover everything but it's a start.
The tests are using my improved version of VAMOS (downstream of https://github.com/cnvogelg/amitools) to emulate the Amiga,
and right now not all improvements went back into the upstream.
### Debian / Ubuntu
```
sudo apt install dejagnu
sudo cp baseboards/* /usr/share/dejagnu/baseboards
pip install -U git+https://github.com/bebbo/amitools.git
make check
```
### macOS
```
brew install dejagnu
cp baseboards/* $(brew --prefix)/opt/dejagnu/share/dejagnu/baseboards
pip install -U git+https://github.com/bebbo/amitools.git
make check
```