[Nix-dev] gcc for MacOS X

Konrad Hinsen konrad.hinsen at fastmail.net
Thu Apr 26 07:06:57 CEST 2012


--On 26 avril 2012 01:18:02 +0200 Ludovic Courtès <ludo at gnu.org> wrote:

>>> ~/.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?

nix-env -i -f path/to/nixpkgs -A gcc46

> 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.)

Ah, that's what's missing then. I used r33899. I will update and try again!

Thanks,
  Konrad.



More information about the nix-dev mailing list