Ticket #21500 - IcedTea 1.11
Ryan Schmidt
ryandesign at macports.org
Wed Oct 7 05:36:11 PDT 2009
On Oct 7, 2009, at 07:25, Michael Franz wrote:
> On Tue, Oct 6, 2009 at 9:16 PM, Ryan Schmidt wrote:
>
>> 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?
MacPorts passes these variables to the configure script, which is
supposed to record those values and use them later. If IcedTea's
configure script does not do this, then yes, you will have to pass
them again, e.g. in the build.args or build.env. The proper way would
be:
build.args CC=${configure.cc} CXX=${configure.cxx}
-- after setting configure.compiler as above.
> 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.
More information about the macports-users
mailing list