no include files in the resulting install of GCC 4.3.0
Bernd Jendrissek
bernd.jendrissek@gmail.com
Wed May 14 13:35:00 GMT 2008
On Tue, May 13, 2008 at 3:52 PM, chris kuhlman <ckuhlman@vbi.vt.edu> wrote:
> I used GCC 4.1.0 to build GCC 4.3.0. So I looked under the install
> directory for GCC 4.1.0, and under the include directory for GCC 4.1.0,
> there is a c++ directory and a file called mf-runtime.h. Under the c++
> directory is 4.1.0 and that directory appears to have all of the C++ header
> files.
>
> Do you know why I did not generate the directories and header files under
> the include directory of GCC 4.3.0?
The *C compiler* has no business installing files that belong to the
*C library* (most likely GNU libc on a GNU/Linux host).
The reason you're seeing the C++ headers is that the GCC tarball
contains the C++ library. So really, when you install GCC, you're
really installing a C *compiler* and a complete C++ *environment*.
Hope that helps.
More information about the Gcc-help
mailing list