This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, testsuite]: use gnu-runtime on 64-bit Darwin8


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]