Updated Compiling from source (markdown)

JayDDee
2024-12-26 17:37:10 -05:00
parent b460ee40f4
commit 3cae300c87

@@ -57,7 +57,7 @@ If Windows tools are preferred cpuminer-opt can be downloaded to the Windows Doc
# Apple MacOS build environment
Apple MacOS is supported on ARM64. Older MACs with x86_64 is untested and not officially supported yet. However, X86_64 is supported on all other OSs and and ARM64 is now suported on MACOS so it may just work already.YMMV
Apple MacOS is supported on ARM64. Older MACs with Intel x86_64 CPU is untested and not officially supported yet. However, x86_64 is supported on other OSs and and ARM64 is now suported on MacOS so it may just work already.YMMV
Setting up the build environment on MacOS does not require an ApplID or need anything from the App store.
@@ -115,11 +115,11 @@ or manually:
N is the number of threads for the compiler to use. Use `-j $(nproc)` to use all CPU cores.
Some newer CPU architectures may not be defined for "-march=native" in older versions of the compiler and may not recognize new features using the default build script. It is often possible to compile an optimum build by manually specifying options.
Some newer CPU architectures may not be defined for `-march=native` in older versions of the compiler and may not recognize new features using the default build script. It is often possible to compile an optimum build by manually specifying options.
Many examples for various desktop CPU architectures can be found for x86_64 in file build-allarch.sh, and for ARM64 in arbuild-all.sh.
Windows on ARM64 may crash with a segfault. Adding "-DARM_WIN_HACK" to CFLAGS and recompiling may workaround the crash.
Windows on ARM64 may crash with a segfault. Adding "`DARM_WIN_HACK` to CFLAGS and recompiling may workaround the crash.
#### Start mining.
@@ -287,7 +287,7 @@ Run cpuminer
In a command window or Powershell change directories to the unzipped release folder.
To get a list of all options:
$ cpuminer.exe --help
`$ cpuminer.exe --help`
Command options are specific to where you mine. Refer to the pool's
instructions on how to set them.