Updated Compiling from source (markdown)

JayDDee
2025-01-04 13:24:56 -05:00
parent 6b39cd0d7c
commit bb69e1fd86

@@ -82,11 +82,11 @@ If Xcode is installed this is probably not necessary. Using Xcode to build cpumi
Install Homebrew from https://brew.sh/. Use Homebrew to install missing packages including GCC. On x86_64 CPUs replace `aarch64` with `x86_64` in targeted packages.
`% brew install aarch64-elf-binutils aarch64-elf-gcc gcc autoconf automake ca-certificates gettext git gmp isl jansson libmpc libunistring lz4 m4 mpfr pcre2 zstd`
`% brew install aarch64-elf-binutils aarch64-elf-gcc gcc autoconf automake ca-certificates gettext gmp isl jansson libmpc libunistring lz4 m4 mpfr pcre2 zstd`
Homebrew compiles packages from source which can take a long time.
cpuminer-opt can now be compiled on ARM64 with the default Clang compiler.
cpuminer-opt can now be compiled on MacOS ARM64 with the default Clang compiler.
x86_64 requires using GCC.
There are many tutorials available on how to set a specific compiler, some are temporary and others are more persistent. The following will work for the existing terminal session.