Ticket #21500 - IcedTea 1.11

Ryan Schmidt ryandesign at macports.org
Tue Oct 6 18:16:11 PDT 2009


On Oct 6, 2009, at 19:55, Michael Franz wrote:

> I think I have figured out the installation script for IcedTea.  The  
> only issue I have and would like input on is how to handle the  
> different compiler for Snow Leopard.  The Snow Leopard default 4.2  
> compiler will not compile the OpenJDK (thus IcedTea).  The alternate  
> gcc 4.0 will work fine.  Do I need to have a variant for each  
> platform or is it enough to force gcc 4.0 in the portfile?

gcc-4.0 is the default on Tiger and Leopard, and is available on Snow  
Leopard, so you could simply add this line to the portfile:

configure.compiler gcc-4.0

You should probably preface that with a comment explaining why:

# IcedTea 1.11 doesn't compile with gcc-4.2
configure.compiler gcc-4.0

(or make the comment specific to OpenJDK and mention its version,  
maybe; I'm not totally clear on the relationship between IcedTea and  
OpenJDK)


> As a note, the current tip of the openjdk will build with 4.2 on  
> snow leopard, but there are some bugs in 4.2 that cause the jdk to  
> crash.

Sounds like they're making progress, anyway. :)



More information about the macports-users mailing list