bebbo / amiga-gcc

The GNU C-Compiler with Binutils and other useful tools for cross development for Amiga
GNU General Public License v2.0
312 stars 66 forks source link

gcc doesn't build on M1 macOS #392

Closed sacredbanana closed 4 months ago

sacredbanana commented 4 months ago

This used to work fine but I have a new macBook (the old one got damaged so needed replacing). So here I am needing to build this again but it doesn't seem to be working anymore.

I am using the default amiga6 gcc branch.

I installed all the brew packages and then started the build with CC=gcc-12 CXX=g++-12 gmake all -j20 NDK=3.2 SHELL=$(brew --prefix)/bin/bash, the gcc build fails with the following error:

image

I ended up hacking a fix by undefining DOT but now it just fails with a new error:

image