[uClinux-dev] structure size ????

thomas chen tchen at on-go.com
Sat Mar 1 16:42:54 EST 2003


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



More information about the uClinux-dev mailing list