Re: [Gc] Universal Binary builds on Mac OS X (patch)
ivmai at mail.ru
Fri Feb 19 12:16:27 PST 2010
I wrote today:
> Bruce Mitchener <bruce.mitchener at gmail.com> 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!
Ok. I've applied the patch. Hopefully would break any Mac build.
> > - Bruce
> > 2010/2/19 Ivan Maidanski <ivmai at mail.ru>
> > > 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2866 bytes
Desc: not available
Url : http://napali.hpl.hp.com/pipermail/gc/attachments/20100219/0ab39115/bdwgc-ivmai-234.obj
More information about the Gc