Ticket #21500 - IcedTea 1.11

Michael Franz mvfranz at gmail.com
Wed Oct 7 05:25:11 PDT 2009


On Tue, Oct 6, 2009 at 9:16 PM, Ryan Schmidt <ryandesign at macports.org>wrote:

>
> 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
>
> I have found that adding that does not work.  I also had to add
build.args CC=gcc-4.0 CXX=g++-4.0
otherwise it still using gcc 4.2. Is this normal?

IcedTea provides an additional step to the OpenJDK build process that allows
older JDKs to be used to build OpenJDK (the goal is to not require non-open
source/free tools to build OpenJDK).  It also provides replacement code for
the binary plugins that were initially release with the OpenJDK (I think
they have all been replaced in OpenJDK).

This additional step allows the use of Apple's JDK 5 to build OpenJDK 7
without requiring JDK 6 - which was not available when I started this
process.  This should work on PowerPC once Zero and Shark are integrated
into the BSD port thus bringing JDK 7 to PowerPC macs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20091007/2879592e/attachment.html>


More information about the macports-users mailing list