This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
C++ porting : No such file or directory
- From: "Sivaprasad.pv" <sivaprasad dot pv at redpinesignals dot com>
- To: gcc <gcc-help at gcc dot gnu dot org>, Ian Lance Taylor <iant at google dot com>
- Date: Thu, 11 Oct 2007 10:18:40 +0530
- Subject: C++ porting : No such file or directory
Hi all,
I have configure gcc-3-3 as below:
$SRC/gcc-3.3/configure --prefix=$RELDIR --target=$TARGET
--enable-languages=c++ --with-gnu-as --with-gnu-ld --without-headers
--with-newlib --host=i686-pc-linux-gnu --with-dwarf2
--enable-sjlj-exceptions
while building following errors are occurred:
gnu/gcc-3.3/libiberty/regex.c:53:25: sys/types.h: No such file or directory
gnu/gcc-3.3/libiberty/regex.c:151:24: string.h: No such file or directory
gnu/gcc-3.3/libiberty/regex.c:198:20: ctype.h: No such file or directory
make[1]: *** [regex.o] Error 1
I think it is problem with not including header files from
/usr/include.I have included /usr/include directory in
Makefile(generated after configuring gcc) then building proceed
further.I think it is not a right way of building gcc. How can i
configure gcc-3.3 such a way that ,By default compiler locate the
required header file.please help me inorder to resolve this issue.
--P.V.Siva Prasad