anchor.diff:      description = "GNU Compiler Collection, version ${version}"
         + (if stripped then "" else " (with debugging info)");
   
  -    longDescription = ''
  -      The GNU Compiler Collection includes compiler front ends for C, C++,
  -      Objective-C, Fortran, OpenMP for C/C++/Fortran, Java, and Ada, as well
  -      as libraries for these languages (libstdc++, libgcj, libgomp,...).
  -
  -      GCC development is a part of the GNU Project, aiming to improve the
  -      compiler used in the GNU system including the GNU/Linux variant.
  -    '';
  -
       maintainers = with stdenv.lib.maintainers; [ viric simons ];
   
       # gnatboot is not available out of linux platforms, so we disable the darwin build
       # for the gnat (ada compiler).
       platforms =
         stdenv.lib.platforms.linux ++
  -      stdenv.lib.platforms.freebsd ++
  -      optionals (langAda == false) stdenv.lib.platforms.darwin;
  +      stdenv.lib.platforms.freebsd;
     };
   }
   
  -// optionalAttrs (cross != null && cross.libc == "msvcrt" && crossStageStatic) {
  -  makeFlags = [ "all-gcc" "all-target-libgcc" ];
  -  installTargets = "install-gcc install-target-libgcc";
  -}
  -
   # Strip kills static libs of other archs (hence cross != null)
   // optionalAttrs (!stripped || cross != null) { dontStrip = true; NIX_STRIP_DEBUG = 0; }
   
  
positive.code:     export LDFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $LDFLAGS_FOR_TARGET"
      export CXXFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CXXFLAGS_FOR_TARGET"
      export CFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CFLAGS_FOR_TARGET"
    '' + stdenv.lib.optionalString stdenv.isDarwin ''
      if SDKROOT=$(/usr/bin/xcrun --show-sdk-path); then
        configureFlagsArray+=(--with-native-system-header-dir=$SDKROOT/usr/include)
        makeFlagsArray+=( \
         CFLAGS_FOR_BUILD=-F$SDKROOT/System/Library/Frameworks \
         CFLAGS_FOR_TARGET=-F$SDKROOT/System/Library/Frameworks \
         FLAGS_FOR_TARGET=-F$SDKROOT/System/Library/Frameworks \
        )
      fi
    '';
  
    ABSOLUTE_LIBTOOL_EXCLUDED = libPathExcludes;
  
negative.code:     ++ (optionals javaAwtGtk ([ gtk libart_lgpl ] ++ xlibs))
      ++ (optionals (cross != null) [binutilsCross])
      ++ (optionals langAda [gnatboot])
      ++ (optionals langVhdl [gnat]);
  
    NIX_LDFLAGS = stdenv.lib.optionalString  stdenv.isSunOS "-lm -ldl";
  
  