Re[2]: [Gc] Universal Binary builds on Mac OS X (patch)

Ivan Maidanski ivmai at
Fri Feb 19 00:47:14 PST 2010

Bruce Mitchener <bruce.mitchener at> wrote:
> That was the fix to make building a Universal binary work, yes.
> It *appears* that using __DARWIN_UNIX03 is a pretty standard / common way to
> handle the changes with the underscore prefixes.  At least, similar code
> (for different structs) is in place in many other codebases.

Ok but As I'm not an expert in Darwin, I'd like hear comments from others on the ML too.

> It also looks like the doc/README.darwin is pretty old and may be in need of
> some updating?

You're welcome to submit a patch for the docs!

>  - Bruce
> 2010/2/19 Ivan Maidanski <ivmai at>
> > In other words, it is suggested to choose the correct THREAD_FLD definition
> > based on __DARWIN_UNIX03 macro (predefined?) instead of
> > HAS_PPC_THREAD_STATE... macros group (which are set by configure at
> > present).
> > So, my Q to Darwin/MacOSX folks is: could we use __DARWIN_UNIX03 reliably
> > (including for older Mac OS X versions) for such purpose?
> >
> > Bye.

More information about the Gc mailing list