Power PC Build

Andrew John Hughes gnu_andrew at member.fsf.org
Mon Dec 29 00:17:35 PST 2008


2008/12/29 Michael Franz <mvfranz at gmail.com>:
> 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/
>

--with-gcj-home is really designed for a Classpath JDK, so there's no
guarantee that will always work with anything else.  --with-libgcj-jar
has now been dropped; as can be seen in your example, it's derivable
from --with-gcj-home.

> 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.
>

There's not much other option given that the BSD tree is 7 only,
unless you want to use IcedTea7.

> 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
>
>
>
>
>



-- 
Andrew :-)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the bsd-port-dev mailing list