[Nix-dev] C compiler cannot create executables

Martin Bravenboer martin at cs.uu.nl
Fri Jan 7 22:03:19 CET 2005


Hi,

> error: C compiler cannot create executables

I've seen this problem also ... Your config.log should tell more.

If I remember it correctly, some configuration for making Nix impure 
solved this problem:

export NIX_CFLAGS_COMPILE="-I/usr/include"
export NIX_CFLAGS_LINK="-L/home/martin/.nix-profile/lib -L/usr/lib -L/lib"
export NIX_LDFLAGS="-L/usr/lib -L/lib"

Also available at:
https://svn.cs.uu.nl:12443/repos/mbravenboer/config/.bashrc

Hope this helps, if not, please send your config.log.
-- 
Martin Bravenboer
---------------------------------------------------------------------
Center for Software Technology
Institute of Information and Computing Sciences
Utrecht University



More information about the nix-dev mailing list