C++ porting : No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux