On Wed, Oct 18, 2006 at 05:52:11PM +0200, Kars de Jong wrote:
> > The system-call-emulation is faster but the behaviour is special:
> > for example qemu will emulate exec("/usr/bin/gcc") by exec("/usr/bin/gcc")
> > on the native system and will run the native compiler not the emulated
> > one. I did not find an easy work around about that.
> Hmm, that's pretty daft. It doesn't have a "chroot" option? Can't you
> solve it by using the "target" chroot? Like
> "qemu /export/targroot/usr/sbin/chroot /export/targroot /bin/bash"?
Does not work:
exec("/usr/bin/gcc") will do exec("/export/targroot/usr/bin/gcc")
instead of exec("qemu-arm","/export/targroot/usr/bin/gcc")
Apparently the solution is to set up misc binary support in the kernel,
but I never try that.
Imagine a large blue swirl here.