Updated Compiling from source (markdown)

JayDDee
2024-12-28 23:20:08 -05:00
parent f665bcfffc
commit 571bd4498d

@@ -74,7 +74,7 @@ Setting up the build environment on MacOS does not require an AppleID or need an
#### Install developer command line tools
If Xcode is installed this is probably not necessary. Using Xcode to build cpuminer-opt has not been tested. The following intalls Clang and other useful tools but not the full Xcode.
If Xcode is installed this is probably not necessary. Using Xcode to build cpuminer-opt has not been tested. The following installs Clang and other useful tools but not the full Xcode.
`% xcode-select --install`
@@ -91,7 +91,7 @@ cpuminer-opt can now be compiled on MacOS, see compiling section below.
#### MacOS on X86_64
Setting up for ARM64 selected the Clang compiler which installed by default by Apple. Clang is also aliased as gcc so "gcc" is actually Clang.
GCC is available in Homebrew and can be used by setting the CC & CXX environment variable to point to the real gcc and g++.
GCC is available in Homebrew and can be used by setting the CC & CXX environment variables to point to the real gcc and g++.
On ARM64 GCC did not work so it may not work on x86_64 either and should only be attempted if Clang fails.
For x86_64 replace `aarch64-elf-binutils` with `x86_64-elf-binutils` when installing Homebrew packages.