This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: missing files, gcc-3.0.3
- From: michael shiloh <michael at magrittesystems dot com>
- To: Rupert Wood <me at rupey dot net>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 30 Jan 2002 13:53:18 -0800 (PST)
- Subject: RE: missing files, gcc-3.0.3
thanks to rupert and anyone else;
i ended up deleting everything, and reinstalling and
compiling everything and now it's ok. i suspect one of
my steps had something set incorrectly, as rupert suggested,
and when i did it all fresh i did it correctly.
thanks!
michael
On Wed, 30 Jan 2002, Rupert Wood wrote:
> Michael Shiloh wrote:
>
> > i've downloaded the latest core and g++ files:
> :
> > but when i compile i get:
> >
> > In file included from tm.h:7,
> > from
> > /src/gcc/gcc-3.0.3/gcc/config/i386/xm-i386.h:39,
> > from tconfig.h:3,
> > from /src/gcc/gcc-3.0.3/gcc/libgcc2.c:36:
> > /src/gcc/gcc-3.0.3/gcc/config/i386/linux.h:236:20: signal.h:
> > No such file or directory
> > /src/gcc/gcc-3.0.3/gcc/config/i386/linux.h:237:26:
> > sys/ucontext.h: No such file or directory
> >
> > is this file missing from the tar, or am i doing something
> > wrong?
>
> No, it's not GCC's fault - they should be part of your system
> distribution.
>
> Few ideas:
>
> 1, you haven't properly installed - or you've lost some of - your system
> headers (/usr/include).
>
> 2, you're specifying the wrong host to build, e.g. you're trying to make
> a cross-to-linux compiler from a non-linux system without correctly
> configuring the cross-compile.
>
> 3, the linux configuration might assume glibc 2.x whereas your system
> has an older version (or another C library) which doesn't include those
> header files.
>
> Good luck,
> Rup.
>
--