I am into a situation in which I have to run Go build on Mac OS/OS X. Build will be generated from Linux operating system & that build I have to run on Mac OS/OS X.
I have tried to generate a cross-platform build for Mac using below command and build is generated.
env GOOS=linux GOARCH=amd64 go build
This generated a Go build but I move this build to Mac it shows .dms file extension.
Now I have two questions
- Am I generating the right build for Mac?
- How do I run this?DMS file on Mac?