Am 03.08.2010 um 21:46 schrieb Jean-Marc Lasgouttes: > Le 3 août 10 à 08:15, Stephan Witt a écrit : >> My build environment boils down to: >> >> LDFLAGS=-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386 >> -mmacosx-version-min=10.4 >> CPPFLAGS=-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386 >> -mmacosx-version-min=10.4 >> CONFIGURE_OPTIONS=--enable-warnings --enable-optimization=-Os >> --with-included-gettext --x-includes=/usr/X11/include >> --x-libraries=/usr/X11/lib --with-aspell-framework=Aspell.framework >> --with-extra-inc=/Users/stephan/cvs/lyx/lyx-build/SpellChecker.lib/include >> --with-extra-lib=/Users/stephan/cvs/lyx/lyx-build/SpellChecker.lib/lib >> >> aspell-framework and extra-inc+extra-lib may not needed. >> The -mmacosx-version-min=10.4 is it, I think. > > Just in case you have time to read: against which sdk do you build the > releases? > > Am I right that the ifdef are only needed to be able to build on 10.5 > machines?
The last release I built against 10.5 SDK and used the 10.4 minimum version switch. So the features of 10.5 are available but the check with instancesRespondToSelector cares for 10.4 runtime environment. The defines are to care for 10.4 build environments aka 10.4 SDK. This I got from this and the next pages: http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html Since I don't have Tiger myself I couldn't test it and asked on the users list - no answer. Maybe we can drop Tiger support completely... Stephan