[Nix-dev] overriding binutils in gcc

Rohan Hart rohan.hart17 at gmail.com
Thu Jan 14 22:54:36 CET 2010


Hi

Now that my hacked binutils builds gold rather than ld I can't work
out how to make a gcc which uses it.  From the docs it would seem to
be something like:

  gccGold = wrapGCC (gcc43_real.gcc.override {
    stdenv = overrideInStdenv stdenv [binutilsGold];
  });

but while that builds gold it uses the standard binutils ld.

?

thanks
Rohan



More information about the nix-dev mailing list