[Scratchbox-devel] 32bit structure alignment/padding

Christian McMahon cmcmahon at torus.com.au
Wed Sep 26 11:45:11 EEST 2007


I am using the following compiler and structures are always padded to 32
bits.
 
    /scratchbox/compilers/arm-gcc4.1-uclibc20061004/bin/arm-linux-gcc /
g++
 
I can use gcc macro options to achieve the desired result however I am
looking for a global compiler option that will use 'normal' c structure
alignment (aligned to the largest data member) for all structures. Does
such an option exist?
 
Thanks in advance!
 
Chris
--
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scratchbox.org/pipermail/scratchbox-devel/attachments/20070926/76294520/attachment.htm


More information about the Scratchbox-devel mailing list