From 6378111dabb5433db9d8510785cb06273011505d Mon Sep 17 00:00:00 2001 From: Alan Francis Date: Thu, 1 Dec 2022 22:09:12 +0100 Subject: [PATCH] Update Homebrew GCC to 12 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f270519..32c848a 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ If building with a normal user, the `PREFIX` directory must be writable (default Install Homebrew (https://brew.sh/) or any other package manager first. The compiler will be installed together with XCode. Once XCode and Homebrew are up install the required packages: ``` -brew install bash wget make lhasa gmp mpfr libmpc flex gettext gnu-sed texinfo gcc@11 make autoconf +brew install bash wget make lhasa gmp mpfr libmpc flex gettext gnu-sed texinfo gcc@12 make autoconf ``` By default macOS uses an outdated version of bash. Therefore, on macOS host always pass the the SHELL=/usr/local/bin/bash parameter (or any other valid path pointing to bash), e.g.: @@ -43,12 +43,12 @@ make all SHELL=$(brew --prefix)/bin/bash On macOS it may be also necessary to point to the brew version of gcc make and autoconf, e.g.: ``` -CC=gcc-11 CXX=g++-11 gmake all SHELL=$(brew --prefix)/bin/bash +CC=gcc-12 CXX=g++-12 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 +### macOS on M1 Native builds on M1 Macs are now directly supported. ### Windows with Cygwin