Re: Building compatible dependencies

"Russell E. Owen" <[email protected]>
Newsgroups gmane.comp.python.apple
Organization University of Washington
Message-ID <[email protected]>
In article <[email protected]>,
 Ronald Oussoren <[email protected]> wrote:

> On 11 Jun 2014, at 17:58, Chris Barker <[email protected]> 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

_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.