mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
Updated Compiling from source (markdown)
@@ -88,17 +88,19 @@ Homebrew may compile some packages from source which can take a long time.
|
|||||||
|
|
||||||
#### ARM64:
|
#### ARM64:
|
||||||
|
|
||||||
|
Install these packages on newer Apple computers with M series ARM64 architecture CPU. Clang is installed by default. Compiling with GCC doesn't work on Apple ARM64.
|
||||||
|
|
||||||
`% brew install aarch64-elf-binutils autoconf automake ca-certificates gettext gmp isl jansson libmpc libunistring lz4 m4 mpfr pcre2 zstd`
|
`% brew install aarch64-elf-binutils autoconf automake ca-certificates gettext gmp isl jansson libmpc libunistring lz4 m4 mpfr pcre2 zstd`
|
||||||
|
|
||||||
cpuminer-opt can now be compiled on MacOS ARM64 with the default Clang compiler. See Compiling cpuminer-opt below.
|
cpuminer-opt can now be compiled on MacOS ARM64 with the default Clang compiler. See Compiling cpuminer-opt below.
|
||||||
|
|
||||||
#### x86_64:
|
#### x86_64:
|
||||||
|
|
||||||
x86_64 CPUs must be compiled using GCC.
|
Install these packages on older Apple computers with Intel x86_64 architecture CPU. x86_64 CPUs must be compiled using GCC, Clang doesn't work.
|
||||||
|
|
||||||
`% brew install x86_64-elf-binutils x86_64-elf-gcc gcc autoconf automake ca-certificates gettext gmp isl jansson libmpc libunistring lz4 m4 mpfr pcre2 zstd`
|
`% brew install x86_64-elf-binutils x86_64-elf-gcc gcc autoconf automake ca-certificates gettext gmp isl jansson libmpc libunistring lz4 m4 mpfr pcre2 zstd`
|
||||||
|
|
||||||
Change the default compiler to GCC. Do not use GCC on ARM64, it won't work.
|
Change the default compiler to GCC.
|
||||||
|
|
||||||
There are many tutorials available on how to switch compilers, some methods are temporary and others are more persistent.
|
There are many tutorials available on how to switch compilers, some methods are temporary and others are more persistent.
|
||||||
The following will work for the existing terminal session.
|
The following will work for the existing terminal session.
|
||||||
|
|||||||
Reference in New Issue
Block a user