title: creating and running go build for Mac only?
body: <p>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 &amp; that build I have to run on Mac OS/OS X. </p>
  
  <p>I have tried to generate a cross-platform build for Mac using below command and build is generated.</p>
  
  <pre><code>env GOOS=linux GOARCH=amd64 go build
  </code></pre>
  
  <p>This generated a Go build but I move this build to Mac it shows .dms file extension. </p>
  
  <p>Now I have two questions </p>
  
  <ul>
  <li>Am I generating the right build for Mac? </li>
  <li>How do I run this?DMS file on Mac?</li>
  </ul>