[Pythonmac-SIG] Building compatible dependencies
Russell E. Owen
rowen at uw.edu
Mon Jul 21 22:35:30 CEST 2014
In article <DE3C03BF-1749-4171-B5A9-2A4B5EE5774A at mac.com>,
Ronald Oussoren <ronaldoussoren at mac.com> wrote:
> On 11 Jun 2014, at 17:58, Chris Barker <Chris.Barker at noaa.gov> wrote:
>
> > Hi folks,
> >
> > I know it'a at least theoretically possible to build libs under 10.9 that
> > will work on 10.6 -- specifically compatible with the python.org python
> > binaries.
> >
> > But I"m having trouble finding documentation of what flags you need.
> >
> > MACOSX_DEPLOYMENT_TARGET=10.6
> >
> > should be required -- but anything else?
> >
> > personally, I've solved this by building on the oldest machine I want to
> > support, but that's not always possible anymore.
> >
> > Anyone have an example?
>
> Setting MACOSX_DEPLOYMENT_TARGET should be enough, but you may need to do
> more work depending on the code that you try to build. In particular, code
> using configure scripts might find APIs or libraries that are available on
> 10.9 and not on 10.6.
Also, X11 moved at one point. If you build on too new a machine then any
attempt to use X11 will work on older operating systems.
- Russell
More information about the Pythonmac-SIG
mailing list