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

MacOS build fails #301

Closed reinauer closed 2 years ago

reinauer commented 2 years ago
checking build system type... x86_64-apple-darwin21.6.0
checking host system type... x86_64-apple-darwin21.6.0
checking target system type... m68k-unknown-amigaos
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for gdbserver support... no
checking for gcc... gcc-11
checking whether the C compiler works... no
configure: error: in `/Users/me/git/amiga-gcc/build-Darwin/binutils':
configure: error: C compiler cannot create executables
See `config.log' for more details
% uname -a
Darwin mbp.lan 21.6.0 Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:25 PDT 2022; root:xnu-8020.140.41~1/RELEASE_X86_64 x86_64
% 
bebbo commented 2 years ago
checking for gcc... gcc-11
checking whether the C compiler works... no

get a working gcc compiler

reinauer commented 2 years ago

I understand this needs more debugging. Just treat it as a heads up that the instructions for MacOS in the README.md don't work.

bebbo commented 2 years ago

Feel free to provide an improvement, since I don't support that OS.

acf commented 1 year ago

gcc-12 works. Just replace gcc-11 with gcc-12 in the Homebrew instructions.