[Patch, testsuite]: use gnu-runtime on 64-bit Darwin8
Mike Stump
mrs@apple.com
Thu Oct 5 01:43:00 GMT 2006
On Oct 4, 2006, at 10:04 AM, Andrew Pinski wrote:
> fix up the runtime to create libobjc istead of libobjc-gnu for 64bit.
No, this part is wrong. There is other magic already in place that
handles this transparently for the user:
config/darwin.h:
%{fgnu-runtime:%:replace-outfile(-lobjc -lobjc-gnu)}\
This just needs something like:
${m64:%:version-compare(< 10.5 mmacosx-version-min= %{!fnext-
runtime:%:replace-outfile(-lobjc -lobjc-gnu)})}
to get the -lobjc translated for OSes < 10.5 when -m64 is given, in
addition to the flag logic.
More information about the Gcc-patches
mailing list