From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13260 invoked by alias); 19 Mar 2010 09:48:28 -0000 Received: (qmail 13252 invoked by uid 22791); 19 Mar 2010 09:48:28 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from wmh1.mail.saunalahti.fi (HELO wmh1.mail.saunalahti.fi) (62.142.5.133) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 19 Mar 2010 09:48:24 +0000 Received: from [192.168.0.42] (dsl-olubrasgw1-ff58c000-204.dhcp.inet.fi [88.192.88.204]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: karuottu) by wmh1.mail.saunalahti.fi (Postfix) with ESMTPSA id 0774F1FC063 for ; Fri, 19 Mar 2010 11:48:20 +0200 (EET) Message-ID: <4BA348B1.6020207@wippies.com> Date: Fri, 19 Mar 2010 13:28:00 -0000 From: Kai Ruottu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: Re: Cross compiler questions References: <4BA34441.2090508@wippies.com> In-Reply-To: <4BA34441.2090508@wippies.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2010-03/txt/msg00239.txt.bz2 Let's elaborate, simple things are the most hard to grok, the nature law called entropy states that the world goes towards more disorder, to more complicated systems all the time :( On 19.3.2010 11:30, Kai Ruottu wrote: > Please read the "Prerequisites" in "Install" > > http://gcc.gnu.org/install/prerequisites.html > > and you will see that what you are claiming is pure bullshit! A cross > compiler as default requires > only one build stage, if you see something else claimed elsewhere, > please don't believe it! "Bootstrap" in a native GCC builld is a 3-stage process, a cross GCC build doesn't use it! > If one wants Java, then a 2-stage build process is obligatory : > > "If the cross compiler is to be built with support for the Java > programming language and the > ability to compile .java source files is desired, the installed > native compiler used to build the > cross compiler needs to be the same GCC version as the cross > compiler. In addition the > cross compiler needs to be configured with --with-ecj-jar=.... " The first build stage would be to build a native "boostrap GCC" from the same sources and then use this "stage 1" GCC to build the cross GCC, this being the "stage 2"...