On Tue, Jul 01, 2014 at 07:38:33PM +0100, Justin Cormack wrote: > FreeBSD recently ( > http://svnweb.freebsd.org/base?view=revision&revision=264269 ) added > elf header signature parsing to decide how to execute binaries (based > on the Linux binfmt_misc). The main use case is for qemu emulation, > but it could also apply to this type of issue. It is obviously a > bigger change, but could be worth considering.
Being able to automatically invoke a suitable emulator for user binaries of the wrong OS and/or architecture would be very helpful for crossbuilding difficult packages. -- David A. Holland dholl...@netbsd.org