This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Building gcc as a cross compiler




>../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
**********************************************************************


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]