From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30883 invoked by alias); 22 Jun 2003 16:42:21 -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 29977 invoked from network); 22 Jun 2003 16:42:09 -0000 Received: from unknown (HELO rwcrmhc11.attbi.com) (204.127.198.35) by sources.redhat.com with SMTP; 22 Jun 2003 16:42:09 -0000 Received: from kegel.com (c-24-126-73-164.we.client2.attbi.com[24.126.73.164](untrusted sender)) by attbi.com (rwcrmhc11) with SMTP id <20030622164208013008sgoge>; Sun, 22 Jun 2003 16:42:09 +0000 Message-ID: <3EF5DECA.1080904@kegel.com> Date: Sun, 22 Jun 2003 17:21:00 -0000 From: Dan Kegel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030529 X-Accept-Language: de-de, en MIME-Version: 1.0 To: Andrew Pinski CC: Jim Wilson , gcc@gcc.gnu.org, crossgcc Subject: Re: cross-compilation documentation References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg01871.txt.bz2 Andrew Pinski wrote: >> That first step, installing bootstrap glibc headers, is a new >> and annoying prerequisite as of gcc-3.3. See >> http://sources.redhat.com/ml/crossgcc/2003-06/msg00170.html >> for my rant on the subject. > > No you do not have install the headers because you can pass to gcc > --without-headers and that will make sure that you do not compile > the sources that require glibc's headers. > > So total process is: > cd gccobjdir > .../gcc-sources/configure --without-headers --target=???-linux-gnu > --prefix=??? --enable-languages=c > make > make install > cd glibcobjdir > .../glibc-sources/configure --target=???-linux-gnu --prefix=??? > make > make install > cd gccobjdir > .../gcc-sources/configure --prefix=??? Ahh, thanks. I'll try it. That should speed up my build times noticably, too, since just installing the glibc headers takes about 10% of my run time. - Dan -- Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045