···1922192219231923 gcc46_real = lowPrio (wrapGCC (callPackage ../development/compilers/gcc-4.6 {
19241924 inherit noSysDirs;
19251925- cross = null;
19261926- libcCross = null;
19271927- binutilsCross = null;
1928192519291926 ppl = ppl0_11;
19301927 cloogppl = null;
···19321929 # bootstrapping a profiled compiler does not work in the sheevaplug:
19331930 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43944
19341931 profiledCompiler = if stdenv.system == "armv5tel-linux" then false else true;
19321932+19331933+ # When building `gcc.hostDrv' (a "Canadian cross", with host == target
19341934+ # and host != build), `cross' must be null but the cross-libc must still
19351935+ # be passed.
19361936+ cross = null;
19371937+ libcCross = if crossSystem != null then libcCross else null;
19381938+ libpthreadCross =
19391939+ if crossSystem != null && crossSystem.config == "i586-pc-gnu"
19401940+ then gnu.libpthreadCross
19411941+ else null;
19351942 }));
1936194319371944 # A non-stripped version of GCC.