From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20278 invoked by alias); 25 Jul 2002 11:24:10 -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 20264 invoked from network); 25 Jul 2002 11:24:07 -0000 Received: from unknown (HELO fadata.bg) (80.72.64.67) by sources.redhat.com with SMTP; 25 Jul 2002 11:24:07 -0000 Received: (qmail 1087 invoked by uid 1000); 25 Jul 2002 11:24:04 -0000 To: Joern Rennecke Cc: gcc@gcc.gnu.org, dje@transmeta.com, Zack Weinberg Subject: Re: Unreviewed patch / {PATCH] Do not override configure decision about inhibit_libc References: <87n0sgqlqu.fsf@fadata.bg> <3D3FCD3F.CEE12605@superh.com> <87d6tchyes.fsf@fadata.bg> <3D3FDC0F.77C915D0@superh.com> X-No-CC: Reply to lists, not to me. From: Momchil Velikov In-Reply-To: <3D3FDC0F.77C915D0@superh.com> Date: Thu, 25 Jul 2002 10:01:00 -0000 Message-ID: <87y9c0giej.fsf@fadata.bg> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-07/txt/msg01209.txt.bz2 >>>>> "Joern" == Joern Rennecke writes: Joern> Momchil Velikov wrote: >> >> >>>>> "Joern" == Joern Rennecke writes: Joern> How do you build a usable sh-elf compiler without newlib Joern> in the first place? >> >> Huh ? The compiler by itself does not require newlib nor does the >> produced code, right ? Joern> It you need header files for the compiler if you compile code Joern> that include any of them. And you need the c library if any Joern> function of it is used. I can think of at least three legitimate cases: I. Use the compiler in a freestanding environment - no libraies or headers exist at all. II. Build and install the libraries after building the compiler - way more convenient than installing headers only, building the compiler, going back and building the libraries. III. In a cross compilation environment, the headers may not be on the same machine. ~velco