This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: (bib) libobjc build failure
Zack Weinberg wrote:
Nathanael Nerode <neroden@twcny.rr.com> writes:
Zack, can you figure out the correct way to fix this?
Either you need to change something, or libobjc needs to change
something, and I'm not sure which.
The immediate fix is probably going to be to add #includes of
coretypes.h and tm.h to most of libobjc. The _correct_ fix is to make
libobjc find this stuff out some other way, but I'm not up for that
right now.
I believe the root cause is that ObjC requires some reflection-type
facilities, and that these were implemented for libobjc by using
target macros from tm.h, rather than compiler builtins. Fixing
this doesn't get very high up on anybody's agenda unfortunately;
Apple's motivation is limited for instance because OS X doesn't
use libobjc.
Stan