anchor.diff:  
       /* Platform flags */
       platformFlags = let
  -        gccArch = stdenv.lib.attrByPath [ "platform" "gcc" "arch" ] null stdenv;
  -        gccCpu = stdenv.lib.attrByPath [ "platform" "gcc" "cpu" ] null stdenv;
  -        gccAbi = stdenv.lib.attrByPath [ "platform" "gcc" "abi" ] null stdenv;
  -        gccFpu = stdenv.lib.attrByPath [ "platform" "gcc" "fpu" ] null stdenv;
  -        gccFloat = stdenv.lib.attrByPath [ "platform" "gcc" "float" ] null stdenv;
  -        gccMode = stdenv.lib.attrByPath [ "platform" "gcc" "mode" ] null stdenv;
  +        gccArch = stdenv.platform.gcc.arch or null;
  +        gccCpu = stdenv.platform.gcc.cpu or null;
  +        gccAbi = stdenv.platform.gcc.abi or null;
  +        gccFpu = stdenv.platform.gcc.fpu or null;
  +        gccFloat = stdenv.platform.gcc.float or null;
  +        gccMode = stdenv.platform.gcc.mode or null;
           withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
           withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
           withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
  
positive.code:     else "install";
  
    crossAttrs = let
      xgccArch = stdenv.lib.attrByPath [ "gcc" "arch" ] null stdenv.cross;
      xgccCpu = stdenv.lib.attrByPath [ "gcc" "cpu" ] null stdenv.cross;
      xgccAbi = stdenv.lib.attrByPath [ "gcc" "abi" ] null stdenv.cross;
      xgccFpu = stdenv.lib.attrByPath [ "gcc" "fpu" ] null stdenv.cross;
      xgccFloat = stdenv.lib.attrByPath [ "gcc" "float" ] null stdenv.cross;
      xwithArch = if xgccArch != null then " --with-arch=${xgccArch}" else "";
      xwithCpu = if xgccCpu != null then " --with-cpu=${xgccCpu}" else "";
      xwithAbi = if xgccAbi != null then " --with-abi=${xgccAbi}" else "";
  
negative.code:             " --enable-nls" +
              " --disable-decimal-float") # No final libdecnumber (it may work only in 386)
            );
      stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
      crossNameAddon = if cross != null then "-${cross.config}" + stageNameAddon else "";
  
    bootstrap = cross == null && !stdenv.isArm && !stdenv.isMips;
  