* add gcc-4.1

* add gcc-40mipsboot
* rewrite gcc-40mips so it wraps around both gcc-40mipsboot *and* uClibc
* compile uClibc with gcc-40mipsboot

svn path=/nixpkgs/trunk/; revision=4962
This commit is contained in:
Armijn Hemel 2006-03-01 19:11:42 +00:00
parent 6bec50fda1
commit f74d835529

View File

@ -528,19 +528,22 @@ rec {
inherit stdenv; inherit stdenv;
}; };
gcc40mipsboot = (import ../development/compilers/gcc-4.0-cross) {
inherit fetchurl stdenv noSysDirs;
langF77 = false;
langCC = false;
binutilsCross = binutilsMips;
kernelHeadersCross = kernelHeadersMips;
cross = "mips-linux";
};
gcc40mips = (import ../build-support/gcc-cross-wrapper) { gcc40mips = (import ../build-support/gcc-cross-wrapper) {
nativeTools = false; nativeTools = false;
nativeGlibc = false; nativeGlibc = false;
cross = "mips-linux"; cross = "mips-linux";
gcc = (import ../development/compilers/gcc-4.0-cross) { gcc = gcc40mipsboot;
inherit fetchurl stdenv noSysDirs; #inherit (stdenv.gcc) glibc;
langF77 = false; glibc = uclibcMips;
langCC = false;
binutilsCross = binutilsMips;
kernelHeadersCross = kernelHeadersMips;
cross = "mips-linux";
};
inherit (stdenv.gcc) glibc;
binutils = binutilsMips; binutils = binutilsMips;
inherit stdenv; inherit stdenv;
}; };
@ -573,6 +576,17 @@ rec {
inherit stdenv; inherit stdenv;
}; };
gcc41 = (import ../build-support/gcc-wrapper) {
nativeTools = false;
nativeGlibc = false;
gcc = (import ../development/compilers/gcc-4.1) {
inherit fetchurl stdenv noSysDirs;
profiledCompiler = true;
};
inherit (stdenv.gcc) binutils glibc;
inherit stdenv;
};
gcc295 = (import ../build-support/gcc-wrapper) { gcc295 = (import ../build-support/gcc-wrapper) {
nativeTools = false; nativeTools = false;
nativeGlibc = false; nativeGlibc = false;
@ -1578,7 +1592,7 @@ rec {
inherit fetchurl stdenv; inherit fetchurl stdenv;
kernelHeadersCross = kernelHeadersMips; kernelHeadersCross = kernelHeadersMips;
binutilsCross = binutilsMips; binutilsCross = binutilsMips;
gccCross = gcc40mips; gccCross = gcc40mipsboot;
cross = "mips-linux"; cross = "mips-linux";
}; };