Skip to content

10.2 and 10.3

Volker Enderlein edited this page Dec 25, 2019 · 1 revision

You are here: HomeDocumentationMac information pageCoin3D/Mac FAQOS-version specific questions → 10.2 and 10.3

Can I use the same binaries on 10.2 and 10.3?

Yes. You can use the Coin binaries for Mac OS 10.3 to develop your product on Mac OS 10.3 and deploy it on Mac OS 10.2 or 10.3, if you set the MACOSX_DEPLOYMENT_TARGET to 10.2. Read on for more information.

Each version of Mac OS X has (so far) come with a new version of gcc that is incompatible with earlier versions of gcc when using C++. This is due to changes made in gcc's C++ ABI. However, the incompatibilities are only a problem when developing an application, not when running it. Consequently, all parts of an application should be developed with the same version of gcc. This is most easily done by sticking to one version of the OS and gcc when developing.

The Mac OS 10.3 Coin binaries are built for development on 10.3 using the default gcc-3.3 compiler. To ensure 10.2 compatibility, the binaries are created with the MACOSX_DEPLOYMENT_TARGET build setting set to 10.2. To build an application that should run on 10.2 and 10.3, build it on Mac OS 10.3 using gcc-3.3 and set the MACOSX_DEPLOYMENT_TARGET to 10.2, which can be done in the Xcode's Project Info inspector:

Clone this wiki locally