* 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:
parent
6bec50fda1
commit
f74d835529
@ -528,19 +528,22 @@ rec {
|
||||
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) {
|
||||
nativeTools = false;
|
||||
nativeGlibc = false;
|
||||
cross = "mips-linux";
|
||||
gcc = (import ../development/compilers/gcc-4.0-cross) {
|
||||
inherit fetchurl stdenv noSysDirs;
|
||||
langF77 = false;
|
||||
langCC = false;
|
||||
binutilsCross = binutilsMips;
|
||||
kernelHeadersCross = kernelHeadersMips;
|
||||
cross = "mips-linux";
|
||||
};
|
||||
inherit (stdenv.gcc) glibc;
|
||||
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";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user