This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: target/2032
- To: nobody at gcc dot gnu dot org
- Subject: Re: target/2032
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: 27 Feb 2001 15:06:04 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: Richard Earnshaw <rearnsha at arm dot com>
The following reply was made to PR target/2032; it has been noted by GNATS.
From: Richard Earnshaw <rearnsha@arm.com>
To: "=?big5?B?QnJhbmRvbiBZYW5nILeortG7yg==?=" <ericy@iname.com>
Cc: nobody@gcc.gnu.org, gnats-bugs@gcc.gnu.org, Richard.Earnshaw@arm.com
Subject: Re: target/2032
Date: Tue, 27 Feb 2001 14:54:53 +0000
The problem here:
/scratch/crossdev-build/src/gcc-20010122/gcc/libgcc2.c:3136:
/scratch/crossdev-build/src/gcc-20010122/gcc/gthr-posix.h:37:21:
pthread.h:
No such file or directory
is occuring because when the script configures gcc, with:
/scratch/crossdev-build/src/gcc-20010122/configure
--prefix=/scratch/crossdev/armv5-linux --target=armv5-linux
--enable-shared --with-newlib --enable-languages=c
It doesn't tell configure where to find the full set of include files.
You need to add '--with-headers=<path-to-header-files>' to the script, so
that configure can make sure these are installed before it tries to run
your cross-compiler.
This is a bug in the script you are using (which isn't part of gcc), so
you need to take it up with the authors of that script.
Richard.