This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

how to pack data structures (i386)?


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
------------------------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]