Improving the crossStripping. A cross-glibc gets broken if stripped by the

native strip. So we now distinguish dontStrip and dontCrossStrip. I updated
the expressions for glibc-2.9 and glibc-2.11 accordingly.
I could get rid of the cross-glibc depending on the cross-gcc-stage-static.

Enabling nls in the final cross-gcc.

I still have problems on wint_t/wchar_t not working on cross build. Gettext
does not build.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18562
This commit is contained in:
Lluís Batlle i Rossell
2009-11-23 17:06:57 +00:00
parent 75b60caea0
commit c6b526495b
5 changed files with 15 additions and 6 deletions

View File

@@ -39,7 +39,8 @@ let
" --with-headers=${glibcCross}/include" +
" --enable-__cxa_atexit" +
" --enable-long-long" +
" --enable-threads=posix"
" --enable-threads=posix" +
" --enable-nls"
);
stageNameAddon = if (crossStageStatic) then "-stage-static" else
"-stage-final";