Skip to content

Instantly share code, notes, and snippets.

@slimsag
Last active March 3, 2022 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slimsag/7693afaf9676bead77950446a66c9573 to your computer and use it in GitHub Desktop.
Save slimsag/7693afaf9676bead77950446a66c9573 to your computer and use it in GitHub Desktop.
slimsag@hexopsblade15:~/Desktop/beyang/symf$ CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 CC='zcc' CXX='zxx' go build -ldflags='-extldflags=-F/home/slimsag/Desktop/beyang/symf/sdk-macos-12.0/root/System/Library/Frameworks' -o test ./cmd/symf
# github.com/sourcegraph/symf/cmd/symf
warning: unsupported linker arg: -headerpad
warning: unsupported linker arg: 1144
warning: unsupported linker arg: -no_pie
warning: unsupported linker arg: -pagezero_size
warning: unsupported linker arg: 4000000
warning: unsupported linker arg: --compress-debug-sections
warning: unsupported linker arg: zlib-gnu
/usr/local/go/pkg/tool/linux_amd64/link: /usr/local/go/pkg/tool/linux_amd64/link: running dsymutil failed: exec: "xcrun": executable file not found in $PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment