libobjc

Jeffrey A Law law@upchuck.cygnus.com
Thu Mar 11 23:08:00 GMT 1999


  In message < 199903120218.TAA21578@pojoaque.santafe.edu >you write:
  > 
  > With libobjc moved out of the compiler tree, it would be nice if it
  > could be built without references to the gcc sources.  To do this, it
  > appears that a couple macros would need to be compiled in libgcc:
  > BIGGEST_FIELD_ALIGNMENT and STRUCT_VALUE. 
Yes.  Absolutely.

  > The other referenced macros are constants and perhaps could be printed
  > by -print-objc-runtime-info.  They are STRUCTURE_SIZE_BOUNDARY,
  > PCC_BITFIELDS_TYPE_MATTERS, BITS_PER_UNIT and BITS_PER_WORD.
I don't think so.  Not without significant work.  Consider that
BITS_PER_WORD, STRUCTURE_SIZE_BOUNDARY, and other macros can vary
depending on compiler arguments.

Though it's also not clear that those things are correctly handled
for targets there BITS_PER_WORD and friends vary.

jeff


More information about the Gcc mailing list