From 2f6385ba23995f02c2c047aa7cd4c3de47143ad3 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Fri, 30 Dec 2005 14:20:44 +0000 Subject: [PATCH] tell a bit more about the names of the binutils that the buildprocess expects to find during cross compilation. We need to fix the gcc-wrapper to support cross-compiling. Really, it's not that hard to do, but it needs to be done correctly :) svn path=/nixpkgs/trunk/; revision=4456 --- maintainers/docs/cross.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/docs/cross.txt b/maintainers/docs/cross.txt index 7fce2385707c..c79c571dee97 100644 --- a/maintainers/docs/cross.txt +++ b/maintainers/docs/cross.txt @@ -165,6 +165,11 @@ stdenv.mkDerivation { } --- +The builder.sh for a cross-compiler. Note that the binutils are prefixed +with the architecture name, so arm-linux-ld instead of ld, etc. This is +necessary because when we cross-compile a lot of programs look for these +tools with these specific names. The standard gcc-wrapper does not take this +into account yet. --- source $stdenv/setup