On 23 September 2012 17:02, Blue Swirl <blauwir...@gmail.com> wrote: > On Sat, Sep 22, 2012 at 11:23 PM, Erik de Castro Lopo > <mle+to...@mega-nerd.com> wrote: >> I'm working in a similar syscall implementation (POSIX timers) and >> I'm currently testing it in an debian armhf chroot running on my >> x86-64 laptop. After quite a bit of debugging its now working perfectly. > > So the structure happens to be the same for this pair by chance, > probably because neither architecture care much about alignment. The > correct fix is still to do the structure conversion.
I think Erik is asking not whether to do the structure conversion, but how to get a setup that would let you test that it is correct once you've written it... -- PMM