From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28230 invoked by alias); 28 Nov 2007 01:10:27 -0000 Received: (qmail 28162 invoked by uid 22791); 28 Nov 2007 01:10:26 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 28 Nov 2007 01:10:17 +0000 Received: (qmail 16729 invoked from network); 28 Nov 2007 01:10:16 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Nov 2007 01:10:16 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.68) (envelope-from ) id 1IxBRP-00053l-2A; Wed, 28 Nov 2007 01:10:15 +0000 Date: Wed, 28 Nov 2007 08:54:00 -0000 From: "Joseph S. Myers" To: Bernd Schmidt cc: Mark Mitchell , Jie Zhang , gcc@gcc.gnu.org, GCC Patches Subject: Re: Link tests after GCC_NO_EXECUTABLES In-Reply-To: <474C98AA.50105@t-online.de> Message-ID: References: <46EFBCC1.6070200@gmail.com> <46EFC383.7020503@t-online.de> <46EFC9E9.7090201@gmail.com> <46EFCEF9.3060304@t-online.de> <46EFCF7A.2080704@gmail.com> <46EFD236.6080907@t-online.de> <46EFDA4D.3070006@gmail.com> <474C0C52.8050503@t-online.de> <474C8FA4.2040603@codesourcery.com> <474C95BA.1060807@t-online.de> <474C96C1.7010208@codesourcery.com> <474C98AA.50105@t-online.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-11/txt/msg01540.txt.bz2 On Tue, 27 Nov 2007, Bernd Schmidt wrote: > We have two uses for the bfin-elf compiler - building standalone > applications, and bootstrapping uClibc for > bfin-uclinux/bfin-linux-uclibc. For the latter, we need -mfdpic and > -mid-shared-library multilibs, to at least get a libgcc. This always > worked since what is now "-msim" was default behaviour, but it started > to fail the libstdc++ configury once Jie changed that to use > target-specific linker scripts. When you are building a compiler to bootstrap libc, with a view to building a later full toolchain using that libc, the bootstrap compiler should be C-only (and have most of the other runtime libraries apart from libgcc disabled), so you only build libstdc++ after you have a libc. The only exception would be if your libc contains C++ code and depends on libstdc++ - I think this has been mentioned as an issue for Cygwin. -- Joseph S. Myers joseph@codesourcery.com