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: Joel Dice <dicej at mailsnare dot net>
- To: Mike Purdy <purdymi at binghamtonschools dot org>
- Cc: java at gcc dot gnu dot org
- Date: Wed, 20 Sep 2006 13:13:45 -0600 (MDT)
- Subject: Re: How to do bootstrap build on OSX to get gcj?
- References: <s51158a7.038@HSGW1.bcsd>
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?
FYI, I've never succeeded in building gcj using the modular tarballs
myself, and I don't think many people test that method. You're probably
better off using full tarball (gcc-4.1.1.tar.bz2). Also note that the
darwin-i386 build does not work without significant manual effort.
The following should work on PPC:
$ tar xjf gcc-4.1.1.tar.bz2
$ mkdir gcc-build
$ cd gcc-build
$ ../gcc-4.1.1/configure --enable-bootstrap \
--enable-languages=c,c++,java --enable-libgcj
$ make && make install
Hope that helps.
- Joel