[uClinux-dev] structure size ????
fgiovag at tin.it
Fri Mar 7 03:03:04 EST 2003
Let me know if it works.
Alle 22:54, giovedì 6 marzo 2003, Giovanni Casoli ha scritto:
> On Sat, 1 Mar 2003, thomas chen wrote:
> > i have a structure that is 10 bytes long... on the target side
> > (arm) arm-elf-gcc expand that to multiple of 4, ie 12 bytes...
> > but on the intel pc side, it is still 10 bytes... any way to pack
> > the structure but without violating the arm alignment problem...
> > ie if the structure is 9 byte long, i want to pack it to 10 instead
> > of just 9....
> > thanks
> > _______________________________________________
> > uClinux-dev mailing list
> > uClinux-dev at uclinux.org
> > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > This message was resent by uclinux-dev at uclinux.org
> Try declaring everything volatile (members and structure self): it should
> Giovanni Casoli
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> This message was resent by uclinux-dev at uclinux.org
More information about the uClinux-dev