From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14418 invoked by alias); 14 Mar 2012 12:40:39 -0000 Received: (qmail 14402 invoked by uid 22791); 14 Mar 2012 12:40:38 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,TW_GC,TW_JX,TW_ZX X-Spam-Check-By: sourceware.org Received: from alpha.arachsys.com (HELO alpha.arachsys.com) (91.203.57.7) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 14 Mar 2012 12:40:24 +0000 Received: from [86.188.240.37] (helo=[192.168.2.137]) by alpha.arachsys.com with esmtpa (Exim 4.72) (envelope-from ) id 1S7nV9-0005zH-BR; Wed, 14 Mar 2012 12:40:23 +0000 Message-ID: <1331728822.2573.20.camel@ladybug.local> Subject: Re: GCJ building From: Chris Burdess To: Me Myself and I Cc: gcc-help@gcc.gnu.org, java@gcc.gnu.org Date: Wed, 14 Mar 2012 12:40:00 -0000 In-Reply-To: References: <4F5E7971.4050408@digium.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2012-03/txt/msg00050.txt.bz2 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.