GNU libobjc on Darwin

David Edelsohn dje@watson.ibm.com
Tue Aug 31 15:27:00 GMT 2004


>>>>> 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



More information about the Gcc mailing list