Re: Eliminating the dependency on the old C header files

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

 



Jonathan Wakely wrote on 06/25/2018 11:56 PM:
On Mon, 25 Jun 2018 at 22:39, U.Mutlu <um@xxxxxxxxxxx> wrote:

Hi,

it seems the latest gcc (v9 svn) unfortunately still needs
the C headers of the (old) system compiler, for example stdio.h .

Those headers are not part of GCC, they come from the C library.

Is it possible to let the build process create also new C headers,

No, because GCC doesn't create those headers, they're not part of GCC.

Ok, got it. So, I could build libc myself and install into
a different dir and give those new dirs (include, lib) to
the gcc build script.
https://sourceware.org/glibc/wiki/Testing/Builds
Yes, now it makes sense. Thx.

so that no dependency anymore exists to the old C header files?

What other alternatives are there?
What minimal/essential C headers would one need to provide
instead of the full /usr/include dir?

--
Thx




[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