This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]