From 0e724c815212332f9456670fa696efd2d395a62b Mon Sep 17 00:00:00 2001 From: Developer-Ecosystem-Engineering <65677710+Developer-Ecosystem-Engineering@users.noreply.github.com> Date: Thu, 25 Jun 2020 13:49:27 -0700 Subject: [PATCH] Updated GoArm (markdown) --- GoArm.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/GoArm.md b/GoArm.md index c7780457..c130b86e 100644 --- a/GoArm.md +++ b/GoArm.md @@ -1565,16 +1565,16 @@ ok runtime 1331.420s ## Apple silicon -Cross-compiling Go applications: +Cross-compiling Go applications Host/Build: macOS/x86_64 Target: macOS/arm64 On host machine: - Xcode: Install latest Xcode which supports Apple silicon - Go: Install go*.darwin-amd64.pkg (or build go from source) on macOS/x86_64 - Set go executable in PATH - Export the following environment variables before cross compiling go apps for macOS/arm64 +Xcode: Install latest Xcode which supports Apple silicon +Go: Install go*.darwin-amd64.pkg (or build go from source) on macOS/x86_64 +Set go executable in PATH +Export the following environment variables before cross compiling go apps for macOS/arm64 export SDK_NAME=macosx export SDK_PATH=$(xcrun --show-sdk-path --sdk $SDK_NAME)