This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
version_compare_spec_function
- From: howarth at bromo dot msbb dot uc dot edu (Jack Howarth)
- To: gcc at gcc dot gnu dot org, geoffk at apple dot co
- Date: Fri, 6 Oct 2006 22:58:04 -0400 (EDT)
- Subject: version_compare_spec_function
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