From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12185 invoked by alias); 13 Sep 2006 10:43:08 -0000 Received: (qmail 12164 invoked by uid 48); 13 Sep 2006 10:43:07 -0000 Date: Wed, 13 Sep 2006 10:43:00 -0000 Message-ID: <20060913104307.12163.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug java/28938] [ecj] update build instructions to account for changes In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "bonzini at gnu dot org" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2006-q3/txt/msg00316.txt.bz2 List-Id: ------- Comment #1 from bonzini at gnu dot org 2006-09-13 10:43 ------- A somewhat disconnected comment on the ecj-branch build process... Are you planning to distribute ecj as a JAR file too? If so, there should be no changes to the documentation for building out of tarballs. If you don't want to put the JAR in svn, To build from svn, a pre-existing GCJ would be necessary that can build ecj. The build process should go like this: - the gcc directory builds the bytecode->native compiler - if there is a JAR, the ecj directory looks for ../gcc/gcj and uses that one to build the native compiler - if not, the toplevel configury should pass the path to a GCJ somewhere and the ecj directory will use it to build the JAR. I think the JAR should be built in the build directory, unless --enable-generated-files-in-srcdir. more on the third bullet: find the GCJ in the toplevel, as we do for C++ (grep for CXX= in the toplevel configure -- there is room for improvement but I don't think it's important). In the Makefile.tpl, add somewhere GCJ=@GCJ@ and pass it down to ecj via HOST_FLAGS_TO_PASS. Later on, ecj could even be bootstrapped using POSTSTAGE1_FLAGS_TO_PASS to point to the just build gcj and ecj. (How does gcj find the ecj to use? Might this require spec hacking?) -- bonzini at gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bonzini at gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28938