public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* How to pack structures on word boundary
@ 2002-09-11 13:04 Hossain Altaf-EMH028
  0 siblings, 0 replies; only message in thread
From: Hossain Altaf-EMH028 @ 2002-09-11 13:04 UTC (permalink / raw)
  To: 'gcc-help@gcc.gnu.org'

Hi:
   I used -fpack-struct with gcc compiler and it packs my c structures on a byte boundary.
Is there a way to instruct gcc compiler to pack c structures on a word boundary?
I was compiling my code using diab compiler which packs structures on a word boundary.
Since, I moved to gcc compiler, it is packing structures differently.

Thanks
Mohammd Altaf Hossain
Motorola, Inc.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-11 20:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-11 13:04 How to pack structures on word boundary Hossain Altaf-EMH028

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).