This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
why std C header files are missing from my GCC 3.3 build ?
- From: Ananth Durbha <avdurbha at yahoo dot com>
- To: gcc at gnu dot org
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 13 Jun 2003 08:18:21 -0700 (PDT)
- Subject: why std C header files are missing from my GCC 3.3 build ?
Summary: Unable to figure out why GCC 3.3 make did not
install std c header files (like stdio.h). Need help
to identify if they got installed elsewhere or if its
a problem with my build. C++ header were installed
allright in <target>/include/c++/3.3 directory.
Description:
Recently I downloaded GCC 3.3 source files and
compiled on my i686 machine under Linux OS.
I installed in the target directory
~ananth/tools/gcc-3.3
Then I wrote a simple a "Hello World" C program
(test.c) and compiled is as follows
> tools/gcc-3.3/bin/gcc -I
tools/gcc-3.3/include/c++/3.3 -L tools/gcc-3.3/lib -H
test.c
The location of some of the header files it picked
surprised me. They were not from where I installed but
instead from /usr/include where I d previous version
of gcc installed. This I noticed only for the
following header files ( stdio.h, features.h,
sys/cdefs.h, gnu/stubs.h, bits/types.h, libio.h,
_G_config.h, bits/stdio_lim.h )
Interestingly when I tried to look for these files
under my gcc 3.3 installation root, I didn't find
them!
Where do the std c heeader files get installed ? Does
gcc 3.3 come with them ?
I would appreciate if someone can help me understand
the problem here.
Thanks,
Ananth
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com