- To: Me Myself and I <stargate7thsymbol@xxxxxxxxxx>
- Subject: Re: GCJ building
- From: Chris Burdess <dog@xxxxxxxxxxx>
- Date: Wed, 14 Mar 2012 12:40:22 +0000
- Cc: gcc-help@xxxxxxxxxxx, java@xxxxxxxxxxx
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1332333655; h=Comment: DomainKey-Signature:Received:Received:Received:Received: Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:Content-Transfer-Encoding:Mime-Version:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=kxVusFqzOkub/ERwINS6VmPQe98=; b=PK/6wzi9X/8ZbP2GHHG5970eBgxbY8479OgbjdCIQDLwyDCSIXTAlL4A8WLQme HKiRBoWc4dj2yhtu+2VDoNyC2eg3seqdi2VJeyuZzTHqbP50vf5A6Q6fd31WMuUY DmOk1AJsL3feC6rBVf1efikfR6wdZCOvFfjpb106ZE7Jk=
- In-reply-to: <CAM1kHc2-MRbFJCo0T_sc1-tYNgA2-8Y6KqZC-nZVhpiDUxVRfw@mail.gmail.com>
On Wed, 2012-03-14 at 09:13 +0000, David Paterson wrote:
> Sorry, but you obviously haven't followed the step-by-step
> instructions. You may think you are, but you appear to be building in
> the wrong directory - there's no sign of a "compiler" directory name
> in the error messages, and the build should not be happening in the
> source tree. This appears to be just a copy and paste of messages
> from previous emails.
>
> We've asked you several times to paste in the commands you're using,
> but you haven't done that. I have no idea what you're doing, but it
> certainly isn't what everyone keeps telling you to do.
Here is a list of instructions that even my cat could follow:
1. Open a MinGW shell.
2. Type: rm -rf /g; mkdir /g
3. Download the following files from
ftp://gcc.gnu.org/pub/gcc/infrastructure/ :
gmp-4.3.2.tar.bz2
mpfr-2.4.2.tar.bz2
mpc-0.8.1.tar.gz
4. Place these files in the g directory you just created. If you just
accepted all the defaults that the MinGW installer supplied, this will
be at C:\MinGW\msys\1.0\g .
5. Download the following files from
ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.6.3/ :
gcc-4.6.3.tar.bz2
gcc-java-4.6.3.tar.bz2
6. Place these files in the g directory you created.
7. Go back to the MinGW shell window.
8. Type the following:
cd /g
tar jxf gmp-4.3.2.tar.bz2
cd gmp-4.3.2
./configure --prefix=/mingw
make && make install
cd /g
tar jxf mpfr-2.4.2.tar.bz2
cd mpfr-2.4.2
./configure --prefix=/mingw
make && make install
cd /g
tar zxf mpc-0.8.1.tar.gz
cd mpc-0.8.1
./configure --prefix=/mingw
make && make install
cd /g
tar jxf gcc-4.6.3.tar.bz2
tar jxf gcc-java-4.6.3.tar.bz2
mkdir build
cd build
../gcc-4.6.3/configure --prefix=/mingw --enable-java
make && make install
If this doesn't work, you sodded something up: either you typed
something wrong, or you did something else not described here. Start
again from step 1. If it still doesn't work, you probably broke your
MinGW installation. Uninstall it and reinstall it using the defaults,
then start again from step 1.
This results in a working gcj on a clean Windows XP SP3 for me.
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]