[Nix-dev] Where should stdio.h be located?

Ludovic Courtès ludo at gnu.org
Fri Apr 13 14:35:31 CEST 2012


Hi,

Konrad Hinsen <konrad.hinsen at fastmail.net> skribis:

> So where is stdio.h located in a normal, working Nixpkgs installation?
> Is it part of gcc, stdenv, or yet something else?

stdio.h is part of libc, so it comes under glibc’s store path on
GNU/Linux.

However, GCC has a “fix-includes” mechanism where it works around libc
defects on some OSes, so it may come with its own version of stdio.h.

Thanks,
Ludo’.



More information about the nix-dev mailing list