This is the mail archive of the
mailing list for the GCC project.
Re: [Patch, target]: use -lobjc-gnu at 64-bit on Darwin
So I take it is impossible to split the compiler behavior
across -m32 and -m64. If you want to propose a patch that
1) switch Darwin from the NEXT objc runtime to the GNU objc
2) build the GNU objc runtime as libobjc-gnu to avoid clashes
with the system libobjc
3) change LINK_SPEC to use the NEXT libobjc runtime when
-fnext-runtime is used
...I would be happy to test it on Darwin PPC at -m32/-m64.
On Sun, Oct 08, 2006 at 05:27:43PM -0700, Andrew Pinski wrote:
> On Sun, 2006-10-08 at 20:22 -0400, Jack Howarth wrote:
> > Andrew,
> > My intention wasn't to switch the objc in gcc trunk
> > entirely off of the NEXT runtime, but only change it
> > for -m64 which currently lacks a NEXT 64-bit runtime.
> > I suspect Geoff will object to switching it over entirely
> > since Leopard will provide a NEXT 64-bit runtime.
> Except you are just changing the library which is linked and not really
> the runtime. The two different runtimes have two different APIs and are
> not compatible which is why you also need to change the compiler.
> -- Pinski