This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problems crosscompiling 3.3.1 (CVS branch) from i386-linux to i686-pc-linux-gnu
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Liviu Dudau <dliviu at ntlworld dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 7 Jun 2003 21:22:10 -0400
- Subject: Re: Problems crosscompiling 3.3.1 (CVS branch) from i386-linux to i686-pc-linux-gnu
- References: <3EE28434.8000206@ntlworld.com>
On Sun, Jun 08, 2003 at 01:32:52AM +0100, Liviu Dudau wrote:
> Trying --with-sysroot=/opt/temp/build/cross/i686-pc-linux-gnu/include
> (where the linux, asm and asm-i386 directories reside) does not change
> the error. I can provide full logs on request.
Do you want to use the headers on your system or a separate copy? If
the latter, (a) you need to have glibc's headers there, not just the
kernel; (b) you need to point sysroot at a directory which contains
"./usr/include".
> Now the questions:
>
> 1) which version of signal.h is gcc trying to find here? Looking at my
> Debian system, there is a /usr/include/signal.h coming from glibc, and a
> /usr/include/linux/signal.h coming from the kernel. If it is the linux
> version, why not use the <linux/signal.h> in the i386/linux.h file?
The glbc version.
> 2) what do I do wrong here? Am I missleaded? Any hints will be gladly
> appreciated.
>
> 3) why doesn't the configuration step for stage1 obey the
> --with-sysinclude option?
It's not an include path, it's a system root path.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer