From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22083 invoked by alias); 3 Sep 2002 08:43:29 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 22076 invoked from network); 3 Sep 2002 08:43:28 -0000 Received: from unknown (HELO kanat.pair.com) (209.68.1.142) by sources.redhat.com with SMTP; 3 Sep 2002 08:43:28 -0000 Received: (qmail 1666 invoked by uid 3112); 3 Sep 2002 08:43:27 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 3 Sep 2002 08:43:27 -0000 Date: Tue, 03 Sep 2002 01:43:00 -0000 From: Rupert Wood To: David Meggy cc: Subject: Re: gcc 3.2 limits.h from crtstuff.c In-Reply-To: <1031004187.410.21.camel@DavidAsus> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-09/txt/msg00021.txt.bz2 Dave Meggy wrote: > I think there is something wrong with the way it finds includes. I'm not on my usual system so I can't verify this, but from memory: > According to my inserted #warnings ${my cross env}/include/limits.h > is never called. I've had disagreements in the past about where things should live, but I think the headers should be in $(my cross env)/arm-linux/sys-include and libraries $(my cross env)/arm-linux/lib These are the paths used by GCC's configure's --with-headers and --with-libs. Kai on the crossgcc list will tell you that the headers should actually go in $(my cross env)/arm-linux/include but I think he's wrong :-) > and the compiler I'm trying to build was configured like this > {gcc_source_path}/configure --target=arm-linux --host=arm-linux \ > --build=i386-pc-linux-gnu --prefix=${my cross runtime env} \ > --enable-languages=c --disable-multilib \ > --disable-threads --disable-shared Since you're neither specifying --with-headers or --with-libs (which is fine if they're already in place) you need to specify --without-newlib. Hope that helps, Rup.