Amit Thakar wrote:
Following is the error i'am getting while compiling gcc-3.3.1.I am using
headers of my system.How do i get rid of this.
In file included from tconfig.h:23,
from ../../../gcc-3.3.1/gcc/libgcc2.c:36:
../../../gcc-3.3.1/gcc/config/i386/linux.h:232:20: signal.h: No such file or
directory
../../../gcc-3.3.1/gcc/config/i386/linux.h:233:26: sys/ucontext.h: No such file
or directory
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/home/test2/platdev/mysw/build-tools/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/test2/platdev/mysw/build-tools/gcc'
make: *** [all-gcc] Error 2
A little google searching turns up several hits, e.g.
http://www.embeddedtux.org/pipermail/etux/2004-December/000925.html
which say "use glibc headers". Is this a cross-compiler,
or a native compiler? What's the target OS?
Perhaps you should ask these questions on the crossgcc mailing list,
which is a more comfortable place to talk about problems
building old versions of gcc.
- Dan