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, target]: use -lobjc-gnu at 64-bit on Darwin


Andrew,
    So I take it is impossible to split the compiler behavior
across -m32 and -m64. If you want to propose a patch that
can...

1) switch Darwin from the NEXT objc runtime to the GNU objc
runtime
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.
                 Jack

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


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