[Nix-dev] Re: GCC 4.3 failure
Ludovic Courtès
ludo at gnu.org
Fri Jul 4 10:29:57 CEST 2008
ludo at gnu.org (Ludovic Courtès) writes:
> $ cat ,,t.c
> #include <complex.h>
>
> int foo () { return 0; }
>
> $ gcc -c ,,t.c
> In file included from ,,t.c:1:
> /nix/store/aqy5z30mbgq2c65y2m3x3flbzw5bhvsj-gcc-4.3.1/include/c++/4.3.1/complex.h:34:28: error: bits/c++config.h: No such file or directory
The following combination works:
$ C_INCLUDE_PATH= NIX_CFLAGS_COMPILE="-I$HOME/.nix-profile/include" \
gcc -c ,,t.c
Thanks,
Ludovic.
More information about the nix-dev
mailing list