How to pack structures on word boundary
Wed Sep 11 13:04:00 GMT 2002
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.
Mohammd Altaf Hossain
More information about the Gcc-help