First attempt for the full stdenvCross. I think that it should work. The

toolchain for arm built.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18355
This commit is contained in:
Lluís Batlle i Rossell
2009-11-15 16:48:36 +00:00
parent 2412034611
commit 307cbd7b3b
6 changed files with 59 additions and 19 deletions
+7
View File
@@ -219,6 +219,13 @@ rec {
[ (stdenvLinuxBoot3Pkgs.binutilsCross cross)
(stdenvLinuxBoot3Pkgs.gccCrossStageFinal cross) ];
postHook = if (cross != null) then
(builtins.toFile "cross-posthook.sh" ''
configureFlags="$configureFlags --build=${system} --host=${cross}"
dontStrip=1
'')
else null;
gcc = wrapGCC rec {
inherit (stdenvLinuxBoot2Pkgs) binutils;
inherit (stdenvLinuxBoot3Pkgs) coreutils;