|
|

楼主 |
发表于 2006-5-26 22:57:43
|
显示全部楼层
#39: Sysroot build
--------------------+-------------------------------------------------------
Reporter: jim | Owner: clfs-commits@lists.cross-lfs.org.
Type: task | Status: new
Priority: major | Milestone: CLFS 2.0
Component: BOOK | Version: unstable
Resolution: | Keywords:
--------------------+-------------------------------------------------------
Comment (by jciccone):
I commited what work I've done so far on arm. I'm going to add each arch
as I test for differences. My plan is to add the 32bit archs, then the
pure64 bit archs, saving the multilib archs for last.
Some differences in the build:
* There is no more temp-system
* The cross-tools uses $LFS as it's sysroot, sysroot is the prefix added
onto the search paths. eg. When gcc sees -I/usr/include, it will actualy
use [sysroot]/usr/include. The same concept applies to ld.
* The final system is built as the lfs user
* The final system is still configured with --prefix=/usr but installed
with DESTDIR=${LFS}.
What still needs to be done:
* Make sure nothing's trying to link to or search the host system
* Adding file to cross-tools
* Figure out how to cross-compile vim
* Figure out how to cross-compile perl (full working without references to
the host)
* Figure out how to setup shadow and set root's password.
* Finally, Add the rest of the archs in. |
|