@@ -, +, @@
---
.../en/base/embedded/handbook/cross-compiler.xml | 106 +++++++++++++++-----
1 files changed, 81 insertions(+), 25 deletions(-)
--- a/xml/htdocs/proj/en/base/embedded/handbook/cross-compiler.xml
+++ a/xml/htdocs/proj/en/base/embedded/handbook/cross-compiler.xml
@@ -47,19 +47,43 @@ stage3 chroot. (This is the same chroot you used to install Gentoo.)
Generating a cross-compiler by hand was a long and painful process. This is
why it has been fully integrated into Gentoo! Our frontend called
-
+# emerge crossdev
+
+
+ We only cover the basic usage of crossdev here, but crossdev can customize + the process fairly well for most needs. Execute the following command to + get more information about crossdev usage: +
+# crossdev --help ++ Here are some examples with some of the most useful options: +
+# crossdev --g [gcc version] --l [(g)libc version] --b [binutils version] --k [kernel headers version] -P -v -t [tuple] # use specific versions +# crossdev -S -P -v -t [tuple] # use stable only ++ @@ -110,6 +134,42 @@ stage3 chroot. (This is the same chroot you used to install Gentoo.) temporarily change your profile. +
+ To find out which tuple you should use, look over the output from the + following command: +
++# crossdev -t help ++ +
+ When you are done (after a few hours), you find a newly compiled cross-compiler
+ in the sysroot at
+# quickpkg --include-unmodified-config=y cross-sh4-unknown-linux-gnu/gcc +# quickpkg --include-unmodified-config=y cross-sh4-unknown-linux-gnu/glibc +# quickpkg --include-unmodified-config=y cross-sh4-unknown-linux-gnu/binutils +# quickpkg --include-unmodified-config=y cross-sh4-unknown-linux-gnu/linux-headers ++ +
+ In the future you can reinstall your sysroot by executing the following + simple portage command: +
+ ++# emerge -k cross-sh4-unknown-linux-gnu/gcc cross-sh4-unknown-linux-gnu/glibc cross-sh4-unknown-linux-gnu/binutils cross-sh4-unknown-linux-gnu/linux-headers ++