I was able to build on Snow Leopard using gcc-4.0 and g++-4.0.  The
resulting JDK does not core. :)  I built this using iced tea wrapped in
Macports.  I have a Tiger machine that I want to try on as well, but the gcc
4.0 is older than the ones on Leopard.

On Sun, Sep 13, 2009 at 11:10 PM, Michael Franz <mvfr...@gmail.com> wrote:

>
>
> On Sun, Sep 13, 2009 at 11:04 PM, Greg Lewis <gle...@eyesbeyond.com>wrote:
>
>> On Sun, Sep 13, 2009 at 10:02:07PM -0400, Michael Franz wrote:
>> > Greg,
>> >
>> > I think that _DARWIN_C_SOURCE needs to be included as well.  If not, the
>> > pthread methods are not defined.
>> >
>> > +  CFLAGS += -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
>> >
>> > I have successfully tested this on Leopard.  Snow Leopard builds but
>> crashes
>> > (this might be way I am building)
>>
>> Thanks.  Committed.
>>
>> How are you building it?
>>
>> I am actually building using IcedTea 1.11, so it is the bootstrap JDK that
> cores when it tries to build OpenJDK.  The bootstrap is built with Apples
> JDK 5 and ecj.  This is the same process that I am using on Leopard and
> works fine.  The main difference is Leopard using gcc 4.0 and Snow uses gcc
> 4.2.  I tried with gcc 4.0 on snow but, there are compilation errors I have
> not worked through yet.
>
>


Reply via email to