Geoff, Unless I'm mistaken your the author of the version_compare_spec_function code in gcc, right? Can you tell me if the construct that Mike proposed is possible? If not, is there some other way to achieve the same result?
%{m64:%:version-compare(< 10.5 mmacosx-version-min= %{!fnext-runtime:%:replace-outfile(-lobjc -lobjc-gnu)})} As I mentioned on gcc-patches, I get an error message of... xgcc: too many arguments to %:version-compare make[1]: *** [ppc64/libgcc_s.dylib] Error 1 make: *** [stmp-multilib] Error 2 when I try to add that to config/darwin.h to cause -lobjc-gnu to be used on Darwin8 at -m64. Thanks for any clarifications. Jack