Eliminating the dependency on the old C header files
Mon Jun 25 22:46:00 GMT 2018
Jonathan Wakely wrote on 06/25/2018 11:56 PM:
> On Mon, 25 Jun 2018 at 22:39, U.Mutlu <firstname.lastname@example.org> wrote:
>> 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.
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?
More information about the Gcc-help