This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GNU libobjc on Darwin
- From: Bill Northcott <w dot northcott at unsw dot edu dot au>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 31 Aug 2004 14:50:57 +1000
- Subject: GNU libobjc on Darwin
I may have mentioned this here before or perhaps it only went to Andrew
Pinski.
Andrew has proposed some changes that allow GNU libobjc to build on
Darwin as libobjc-gnu. These work for an FSF style build.
However, on the apple-ppc-darwin branch the same patches don't build
the library.
The cause is an APPLE_LOCAL mod to config/rs6000/darwin.h which
redefines ADJUST_FIELD_ALIGN to need three arguments. This breaks in
encoding.c around line 838. The only other place the macro appears to
be used is stor-layout.c.
I can't make up my mind if this is an Apple bug or an FSF one.
Perhaps someone who can see how to fix it might not care.
Bill Northcott