Power PC Build

Michael Franz mvfranz at gmail.com
Sun Dec 28 19:52:45 PST 2008


Eric,

This is what I did the last time I attempted to build IcedTea on OS X
(Intel).

I use MacPorts for the dependencies.  At one time I had a Portfile for this,
but it got lost in the computer shuffle.

Edit configure.ac to change ALSA missing to be a warning instead of an error
Installed the following ports:
findtuils - use the prefix variant  +with_default_names
coreutils - use the prefix variant +with_default_names
gsed - use the prefix variant +with_default_names
nawk -- not needed if openjdk/jdk/make/common/shared/Defs-utils.gmk is
patched
eclipse-ecj32
jpeg
xercesj
xalanj
freetype

export LDFLAGS='-L/opt/local/lib'
maybe this too: export
PKG_CONFIG_PATH='/opt/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig'

I used OpenJDK to bootstrap Icedtea6 - previously  I used Apple's JDK 6.

./configure --enable-zero
--with-ecj-jar=/opt/local/share/java/eclipse-ecj.jar
--with-libgcj-jar=/Volumes/Leopard/developer/openjdk-bsd/bin/openjdk7-darwin-i386-20080820/jre/lib/rt.jar
--with-xalan2-jar=/opt/local/share/java/xalan.jar
--with-xalan2-serializer-jar=/opt/local/share/java/serializer.jar
--with-xerces2-jar=/opt/local/share/java/xercesImpl.jar --without-rhino
--disable-liveconnect
--with-gcj-home=/Users/mfranz/developer/openjdk-bsd/bin/openjdk7-darwin-i386-20080820/

then make

I was taking things from the OpenJDK 7 BSD port to get around missing make
files, but mixing OpenJDK 6 and OpenJDK 7 is probably not a good idea.

Michael

On Sun, Dec 28, 2008 at 7:54 PM, Eric Richardson <ekrichardson at gmail.com>wrote:

> Hi Michael,
>
> On Sun, Dec 28, 2008 at 8:52 AM, Michael Franz <mvfranz at gmail.com> wrote:
>
>> Eric,
>>
>> I have looked at compiling IcedTea for OS X prior to the BSD port being
>> public.  I was not successful.  I use Macports and had some of the necessary
>> dependencies added to it (eclipse-ecj).  I also only have Intel macs so I
>> can use the OpenJDK BSD port to bootstrap.
>
>
> Thanks for this MacPorts tip as this helped me past my eclipse-ecj hurdle.
>
>
>>
>> I don't have my notes handy, but I was using Java 6 (at the time Apple's
>> Java 6 was not complete) and had some issues with compling some classes.  I
>> tried to get Red Hat's modified gcc/gcj but it would not compile.  GCC 4.3
>> was not released yet, but I think it is now.  Gcc 4.3 should work as an
>> alternative - no guarentees.  Will Java 5 work?  I don't know.
>>
>> I was recently looking at using the zero port in Icedtea, but never
>> completed the build process either.
>
>
> I read some more on the IceTea site and it looks like this should be
> possible.
>
>
>>
>> I can post my configure script when I have access if you are still
>> interested.
>>
>> Michael
>
>
> Eric
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20081228/a8593113/attachment.html 


More information about the bsd-port-dev mailing list