[openib-general] kernel.org cross build

Michael S. Tsirkin mst at mellanox.co.il
Sun Jan 14 06:31:53 PST 2007


OK, I now have cross compilers for kernel for powerpc, ppc64,
x86_64 and ia64. The cross compilers are under ~mst/cross and will be used for
openfabrics kernel nightly builds.

Please note this only includes gcc 4.1.1 and binutils 2.17 subset necessary to build
kernel modules. This can't build userspace - IMO, userspace
builds are too distribution specific anyway, so cross-building them
is much less useful.


To use, just source the kernel-cross.sh file, giving it the correct architecture:
#. ~mst/cross/kernel-cross.sh x86_64
Valid arches are: x86_64, ia64, ppc64, powerpc.

If you want to reproduce the cross-compiler environment at your site,
look at the script ~mst/cross/gcc-cross.sh which was used to create
these compilers.


-- 
MST




More information about the general mailing list