On 4/13/12 8:45 AM, Roy Mendelssohn wrote: > Off topic, but I thought someone on the list might know the answer, and it is > a worthy cause. > > -Roy > > > Begin forwarded message: > >> From: Prof Brian Ripley<[email protected]> >> Subject: [R-SIG-Mac] Building binary packages for distribution >> Date: April 13, 2012 8:36:53 AM PDT >> To: "[email protected]"<[email protected]> >> >> I have hitherto used a Leopard system to build Mac binary packages for >> distribution, but that system has died and we only have Lion systems left >> (and the replacement hardware only runs Lion). I'm only concerned with >> building i386/x86_64 packages. >> >> We saw problems with packages built on Snow Leopard which would not run on >> Leopard, and the trick was to use -mmacosx-version-min=10.5 for compiling >> and linking. >> >> Does anyone know for certain if that suffices? And does setting the >> environment variable MACOSX_DEPLOYMENT_TARGET to 10.5 do the same thing? >> (My man pages suggest so, but I don't trust Apple's documentation to be >> current.) >> >> Brian Ripley >> >> -- >> Brian D. Ripley, [email protected] >> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ >> University of Oxford, Tel: +44 1865 272861 (self) >> 1 South Parks Road, +44 1865 272866 (PA) >> Oxford OX1 3TG, UK Fax: +44 1865 272595 >> >> _______________________________________________ >> R-SIG-Mac mailing list >> [email protected] >> https://stat.ethz.ch/mailman/listinfo/r-sig-mac > Good question. I'd have to answer "it depends".
I'd expect that setting MACOSX_DEPLOYMENT_TARGET or using -mmacosx-version-min=10.5 will work a good fraction of the time. (I don't happen to know if they're identical in all cases). However, in Lion's Xcode releases there is no 10.5SDK (at least that I have been able to find), and so any packages that really need 10.5-specific headers/libs won't have the option to use 'sysroot' to build against a 10.5 setup. -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/2012/02/21/got-job/ ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
