This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GNU libobjc on Darwin
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Bill Northcott <w dot northcott at unsw dot edu dot au>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 31 Aug 2004 10:48:18 -0400
- Subject: Re: GNU libobjc on Darwin
- References: <595C6EAE-FB09-11D8-ABDF-000393D3D676@unsw.edu.au>
>>>>> Bill Northcott writes:
Bill> Andrew has proposed some changes that allow GNU libobjc to build on
Bill> Darwin as libobjc-gnu. These work for an FSF style build.
Bill> However, on the apple-ppc-darwin branch the same patches don't build
Bill> the library.
Bill> The cause is an APPLE_LOCAL mod to config/rs6000/darwin.h which
Bill> redefines ADJUST_FIELD_ALIGN to need three arguments. This breaks in
Bill> encoding.c around line 838. The only other place the macro appears to
Bill> be used is stor-layout.c.
Bill> I can't make up my mind if this is an Apple bug or an FSF one.
This is not a bug. There are two different branches and a macro
that differs between the two branches. The patch uses the macro and needs
to be adjusted for the change of parameters on the branch.
David