This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
how to pack data structures (i386)?
- To: gcc at gcc dot gnu dot org
- Subject: how to pack data structures (i386)?
- From: Will Menninger <william dot l dot menninger at boeing dot com>
- Date: Wed, 11 Apr 2001 17:24:29 -0700 (PDT)
Hello,
I've found gcc to be an extremely reliable compiler. Thanks for your
efforts. I have a question for you:
I'm using gcc (2.7.something) with an i386 system. Is there a compiler
option or a #pragma statement I can use to have it pack data structures
as tightly as possible (e.g. not pad char's out to 4-bytes)?
-Will Menninger
------------------------------------------------------------------------------
William L. Menninger, Senior Staff Engineer | 310 517 6271 voice
Boeing Electron Dynamic Devices, Inc. | 310 517 6873 fax
MS 232/4058A, 3100 Lomita, Torrance, CA 90505 | william.l.menninger@boeing.com
------------------------------------------------------------------------------