I found out that by default, an executable that depends on external
libraries, in my case GLFW3 and OpenGL, when built on a certain version of
OS X won't run on a lower version of OS X. An executable built from the
same sources on a lower version of OS X will run on higher versions of OS X
just fine. I don't know what is causing this. I have seen an error:
"Illegal instruction 4" when running a binary compiled on OS X 10.8 on
10.7. Is there a way, compile time flags perhaps, to prevent this from
happening? Ideally one would want to be able to build an application on
whatever OS version that Go supports and have it work out of the box on any
other OS version, as long as the libraries used are compatible?
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/d/optout.