This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Building gcc as a cross compiler
- To: 'Christophe Rippert' <Christophe dot Rippert at imag dot fr>, gcc-help at gcc dot gnu dot org
- Subject: RE: Building gcc as a cross compiler
- From: David Korn <dkorn at pixelpower dot com>
- Date: Wed, 21 Mar 2001 17:47:17 -0000
>../gcc-2.95.2/configure --prefix=/usr/local/arm --target=arm-coff
> --with-headers=/usr/include
>(I had to copy the /usr/src/linux/include/linux and
>/usr/src/linux/include/asm directories in /usr/include to avoid errors
>from stdlib.h and linux/limits.h files not found)
That's all very well, but are you actually building for an ARM linux
system? If you aren't, you can't use those headers, but should be
using newlib, probably; if you are, then surely 'linux' should be in the
--target somewhere?
>I looked at the arm-coff/libio/_G_config.h file (which appears to be
>generated sometime during the compilation) and the faulty line is:
>typedef __sigset_t _G_sigset_t;
>
>I believe it is a configuration problem since this file is generated ?
Well, it's got confused: it expects to have a definition of __sigset_t,
from newlib or glibc; I guess the linux headers don't have it.
Are you building for a Linux system or a non-Linux system? If you're
building for a non-linux system, what are you planning to use for a
standard C library?
DaveK
--
All your base are belong to us!
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************