From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18419 invoked by alias); 9 Dec 2001 16:02:25 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 18398 invoked from network); 9 Dec 2001 16:02:24 -0000 Received: from unknown (HELO cc730106-b.taylor1.mi.home.com) (24.13.63.84) by sources.redhat.com with SMTP; 9 Dec 2001 16:02:24 -0000 Received: from localhost (jsturm@localhost) by cc730106-b.taylor1.mi.home.com (8.9.3/8.9.3) with ESMTP id LAA23988; Sun, 9 Dec 2001 11:02:12 -0500 X-Authentication-Warning: mars.deadcafe.org: jsturm owned process doing -bs Date: Sun, 09 Dec 2001 09:07:00 -0000 From: Jeff Sturm X-Sender: jsturm@mars.deadcafe.org To: Adam Megacz cc: gcc@gcc.gnu.org Subject: Re: mingw32 target broken [cygwin as well] [the saga continues] In-Reply-To: <86snalxhfu.fsf@megacz.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2001-12/txt/msg00439.txt.bz2 On 8 Dec 2001, Adam Megacz wrote: > > http://gcc.gnu.org/ml/libstdc++/2001-03/msg00144.html > > A bit stale, but I was able to hand-edit for the same effect, and it > worked. A dirty little secret: if all you want is the java runtime, you can skip building libstdc++. Just remove it from the toplevel Makefile. Unfortunately, libjava assumes cross compilers target newlib, just as libstdc++ does... if test -n "${with_cross_host}"; then # We are being configured with a cross compiler. AC_REPLACE_FUNCS # may not work correctly, because the compiler may not be able to # link executables. # We assume newlib. This lets us hard-code the functions we know # we'll have. This never seemed like desirable behavior to me, in part because newlib isn't even GNU software. I'd prefer that configure attempt to link a program before it assumes it cannot. > I've also noticed that the configure in the root directory of the gcc > checkout does not pass the --target=$TARGET option to the invocation > of configure for libstdc++-v3, although it does pass --with-target-dir In the target subdirs, "target" becomes "host". Jeff