mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
Updated Compiling from source (markdown)
@@ -21,7 +21,7 @@ The following command should install everything you need on Debian based distrib
|
|||||||
|
|
||||||
`$ sudo apt-get install build-essential automake libcurl4-openssl-dev libjansson-dev libgmp-dev zlib1g-dev git`
|
`$ sudo apt-get install build-essential automake libcurl4-openssl-dev libjansson-dev libgmp-dev zlib1g-dev git`
|
||||||
|
|
||||||
cpuminer-opt can now be compiled on Linux, see compiling section below.
|
cpuminer-opt can now be compiled on Linux, see Compiling cpuminer-opt below.
|
||||||
|
|
||||||
# Windows build environment
|
# Windows build environment
|
||||||
|
|
||||||
@@ -88,17 +88,20 @@ Install Homebrew from https://brew.sh/. Use Homebrew to install missing packages
|
|||||||
|
|
||||||
Homebrew may compile some packages from source which can take a long time.
|
Homebrew may compile some packages from source which can take a long time.
|
||||||
|
|
||||||
cpuminer-opt can now be compiled on MacOS ARM64 with the default Clang compiler.
|
cpuminer-opt can now be compiled on MacOS ARM64 with the default Clang compiler. See Compiling cpuminer-opt below.
|
||||||
|
|
||||||
x86_64 CPUs must use GCC. Continue to change the compiler to GCC. Do not use GCC on ARM64, it won't work.
|
#### x64_64 use GCC
|
||||||
|
|
||||||
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.
|
x86_64 CPUs must be compiled using GCC. Continue to change the compiler to GCC. Do not use GCC on ARM64, it won't work.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
`$ export CC=gcc`
|
`$ export CC=gcc`
|
||||||
|
|
||||||
`$ export CXX=g++`
|
`$ export CXX=g++`
|
||||||
|
|
||||||
cpuminer-opt can now be compiled on MacOS.
|
cpuminer-opt can now be compiled on MacOS x86_64 using GCC. See Compiling cpuminer-opt below.
|
||||||
|
|
||||||
#### Errata
|
#### Errata
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user