Dear CIL users,

I just commited in the svn a few changes to allow using CIL in a
cross-compilation setup.

This was already possible manually, using the --env flag and the
CIL_MACHINE environment variable.  Autoconf scripts are now
cross-compilation-aware: they use qemu (in user emulation mode [1]) to
run machdep-ml.exe and gather machine-specific data.  Of course, you
need to instal qemu on your machine (Debian users should install the
qemu-user package)?

It tested this patch for mips and mipsel architectures, using OpenWrt
[2] to build the toolchain and compile CIL.  If someone is interested, I
can provide the relevant Makefile to build an OpenWrt package.

It should be straighforward to tweak configure.in to add support for
other architectures (for instance cross-compiling for solaris), but I
will not do it since I have no means to test such configurations.  Feel
free to provide patches if you have some exotic needs :-)

[1] http://wiki.qemu.org/download/qemu-doc.html#QEMU-User-space-emulator
[2] http://openwrt.org/

Best regards,
-- 
Gabriel Kerneis

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to