forked from mirrors/nixpkgs
GCC 4.6: Add a version with debugging symbols.
svn path=/nixpkgs/trunk/; revision=26714
This commit is contained in:
parent
36ed7a8eb8
commit
17fdaf6a7e
|
@ -132,7 +132,7 @@ in
|
|||
assert gtk != null -> (filter (x: x == null) xlibs) == [];
|
||||
|
||||
stdenv.mkDerivation ({
|
||||
name = "${name}-${version}" + crossNameAddon;
|
||||
name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
|
||||
|
||||
builder = ./builder.sh;
|
||||
|
||||
|
|
|
@ -1747,6 +1747,19 @@ let
|
|||
profiledCompiler = if stdenv.system == "armv5tel-linux" then false else true;
|
||||
}));
|
||||
|
||||
# A non-stripped version of GCC.
|
||||
gcc46_debug = lowPrio (wrapGCC (callPackage ../development/compilers/gcc-4.6 {
|
||||
stripped = false;
|
||||
|
||||
inherit noSysDirs;
|
||||
cross = null;
|
||||
libcCross = null;
|
||||
binutilsCross = null;
|
||||
|
||||
ppl = ppl0_11;
|
||||
cloogppl = null;
|
||||
}));
|
||||
|
||||
gccApple =
|
||||
wrapGCC ( (if stdenv.system == "i686-darwin" then import ../development/compilers/gcc-apple else import ../development/compilers/gcc-apple64) {
|
||||
inherit fetchurl stdenv noSysDirs;
|
||||
|
|
Loading…
Reference in a new issue