* gcc-wrapper: separately store the flags necessary to find GCC and

Glibc.  This is useful when building GCC.
* gcc-wrapper: the dynamic linker has a different name on x86_64 and
  powerpc.
* gcc-wrapper: "glibc" -> "libc", because someday we might support
  different C libraries.
* gcc: don't do a multilib build (e.g., 32-bit support on x86_64),
  don't need it.
* gcc: merge in support for static builds.
* gcc: various simplifications in the compiler/linker flags, hope they
  work.

svn path=/nixpkgs/trunk/; revision=6823
This commit is contained in:
Eelco Dolstra
2006-10-24 18:26:23 +00:00
parent 5f4f8766cf
commit b342dcb13b
13 changed files with 135 additions and 93 deletions
+4 -2
View File
@@ -48,10 +48,12 @@ let
binutils = pkgsDiet.binutils217;
gcc = import ../../development/compilers/gcc-static-4.1 {
gcc = import ../../development/compilers/gcc-4.1 {
inherit (pkgs) fetchurl stdenv;
profiledCompiler = false;
noSysDirs = true;
profiledCompiler = true;
langCC = false;
staticCompiler = true;
};
curl = pkgsDiet.realCurl;