* 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,11 +528,7 @@ rec {
inherit stdenv;
};
gcc40mips = (import ../build-support/gcc-cross-wrapper) {
nativeTools = false;
nativeGlibc = false;
cross = "mips-linux";
gcc = (import ../development/compilers/gcc-4.0-cross) {
gcc40mipsboot = (import ../development/compilers/gcc-4.0-cross) {
inherit fetchurl stdenv noSysDirs;
langF77 = false;
langCC = false;
@ -540,7 +536,14 @@ rec {
kernelHeadersCross = kernelHeadersMips;
cross = "mips-linux";
};
inherit (stdenv.gcc) glibc;
gcc40mips = (import ../build-support/gcc-cross-wrapper) {
nativeTools = false;
nativeGlibc = false;
cross = "mips-linux";
gcc = gcc40mipsboot;
#inherit (stdenv.gcc) glibc;
glibc = uclibcMips;
binutils = binutilsMips;
inherit stdenv;
};
@ -573,6 +576,17 @@ rec {
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) {
nativeTools = false;
nativeGlibc = false;
@ -1578,7 +1592,7 @@ rec {
inherit fetchurl stdenv;
kernelHeadersCross = kernelHeadersMips;
binutilsCross = binutilsMips;
gccCross = gcc40mips;
gccCross = gcc40mipsboot;
cross = "mips-linux";
};