From 3da5ecfe05da98388be7037ef95506bdfc21234b Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Tue, 6 Dec 2005 18:08:57 +0000 Subject: [PATCH] rewrite a bit, add some clarifications svn path=/nixpkgs/trunk/; revision=4343 --- maintainers/docs/cross.txt | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/maintainers/docs/cross.txt b/maintainers/docs/cross.txt index f4c128bad4c..3cf28a87192 100644 --- a/maintainers/docs/cross.txt +++ b/maintainers/docs/cross.txt @@ -131,6 +131,12 @@ Only C is used, because for other languages (such as C++) extra libraries need to be compiled, for which libraries compiled for the target system are needed. +There is a bit of evilness going on. The cross compiled utilities need +to be either copied to or be linked from the output tree of the compiler. +(Is this really true? Back this up with arguments! -- AH) + +Symbolic links are not something we want inside the Nix store. + --- { stdenv, fetchurl, noSysDirs , langC ? true, langCC ? true, langF77 ? false @@ -260,6 +266,8 @@ postInstall() { genericBuild --- -This is enough to compile a C library. In our case we take uClibc. It's -intended to be a small sized replacement for glibc. It is widely used in -embedded environments. +Step 4: build a C library for the target platform. + +The previous steps are enough to compile a C library. In our case we take +uClibc. It's intended to be a small sized replacement for glibc. It is widely +used in embedded environments.