how to translate struct packing from vc++ to gcc
<p>How to translate the below vc++ packing commands into gcc commands in Linux? I am aware how to do it for a single struct, but how do I do this for a range of struct? </p>

<pre><code>#pragma pack(push, 1) // exact fit - no padding
//structures here
#pragma pack(pop) //back to whatever the previous packing mode was
</code></pre>
