[Nix-dev] C compiler cannot create executables

Eelco Visser visser at cs.uu.nl
Fri Jan 7 23:23:25 CET 2005


Ok, I figured it out, at least for the current setting I *should* not
use the /usr/lib paths, thus only use paths in the /nix/store to link
against:

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

-- Eelco

------------------------------------------------------------------------
Eelco Visser            Institute of Information and Computing Sciences
mail:visser at cs.uu.nl    Universiteit Utrecht
  or:visser at acm.org     P.O. Box 80089, 3508 TB Utrecht, The Netherlands
http://www.cs.uu.nl/~visser/ Phone: +31-30-253 4592 Fax: +31-30-251 3791
------------------------------------------------------------------------





More information about the nix-dev mailing list