* 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,11 +528,7 @@ rec {
|
|||||||
inherit stdenv;
|
inherit stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
gcc40mips = (import ../build-support/gcc-cross-wrapper) {
|
gcc40mipsboot = (import ../development/compilers/gcc-4.0-cross) {
|
||||||
nativeTools = false;
|
|
||||||
nativeGlibc = false;
|
|
||||||
cross = "mips-linux";
|
|
||||||
gcc = (import ../development/compilers/gcc-4.0-cross) {
|
|
||||||
inherit fetchurl stdenv noSysDirs;
|
inherit fetchurl stdenv noSysDirs;
|
||||||
langF77 = false;
|
langF77 = false;
|
||||||
langCC = false;
|
langCC = false;
|
||||||
@ -540,7 +536,14 @@ rec {
|
|||||||
kernelHeadersCross = kernelHeadersMips;
|
kernelHeadersCross = kernelHeadersMips;
|
||||||
cross = "mips-linux";
|
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;
|
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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user