[Nix-dev] gcc for MacOS X

Ludovic Courtès ludo at gnu.org
Thu Apr 26 01:18:02 CEST 2012


Hi,

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

>> ~/.nix-profile/bin/gcc hello.c -o hello
> hello.c:1:19: fatal error: stdio.h: No such file or directory
> compilation terminated.

Hmm, how did you install it?

And did you try after r33911?  This commit sets ‘noSysDirs’ to false on
Darwin, meaning that GCC would look for files under /usr (stdenv.gcc
already did that.)

Thanks,
Ludo’.



More information about the nix-dev mailing list