To follow up a bit more on the sys-root question, this web page
explains it:

http://benoit.papillault.free.fr/notes/cross-gcc.php.en

The sys-root is built into both the compiler and binutils using the
--with-sysroot option.  That way the compiler can find the include
files, and the linker can find the libraries.

The cross-toolchain that I based mine on are from here:

http://www.redhat.com/archives/fedora-devel-list/2007-October/msg00045.html

These assume the sys-root will be in /usr/$target/sys-root, so that's
how I set things up too.  Lennert suggests using a script
repack_cross.pl to install target rpms in the sys-root.  I used that
for a while but the number of rpms needed was overwhelming, so
eventually I realized it would be a lot easier to use an entire root
filesystem.

For the rootfs, I started with fedora8/ia64 but it's missing some
libs, so I switched to rhel5/ia64.  For the howto, I intend to switch
to centos4.6 so licensing isn't an issue.  In any case, it's not hard
to do a simple ia64 installation then bundle up the sys-root from it.

Hope that helps,
Aron

_______________________________________________
Xen-ia64-devel mailing list
[email protected]
http://lists.xensource.com/xen-ia64-devel

Reply via email to