This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: How to do bootstrap build on OSX to get gcj?
- From: Andi Vajda <andi at osafoundation dot org>
- To: Mike Purdy <purdymi at binghamtonschools dot org>
- Cc: java at gcc dot gnu dot org
- Date: Wed, 20 Sep 2006 12:31:05 -0700 (PDT)
- Subject: Re: How to do bootstrap build on OSX to get gcj?
- References: <s51158a7.038@HSGW1.bcsd>
- Reply-to: Andi Vajda <andi at osafoundation dot org>
On Wed, 20 Sep 2006, Mike Purdy wrote:
I would like to build the sources on OSX to get gcj. I've downloaded
gcc-core-4.1.1.tar.bz2, gcc-g++-4.1.1.tar.bz2, and gcc-java-4.1.1.tar.bz2
and then un-tarred them. Not sure at this point what to do to configure the
build and then invoke the bootstrap build.
Anyone know how I should proceed?
On Intel Mac OS X or PPC Mac OS X ?
For Intel you need a set of patches that was posted here a while ago, see:
http://gcc.gnu.org/ml/java/2006-05/msg00151.html
I don't know if these patches have been checked in anywhere yet.
For PPC Mac OS X, you should just be able to run configure as usual. Here is
how I do it:
../gcc-3.4.4/configure --enable-threads=posix \
--prefix=/usr/local/gcc-3.4.4 \
--enable-languages=c,c++,java
On PPC Mac OS X, I wasn't able to build gcj 4.x yet directly. But I got gcj
4.1.1 to build via darwinports.
I hope this helps...
Andi..