Message-Id: <4C6D083001E72A00@iris.ernet.in> Date: 06 Dec 96 20:43 IST From: tehmul%NIITPUN AT iris DOT ernet DOT in Sender: tehmul%niitpun AT iris DOT ernet DOT in To: djgpp AT delorie DOT com Subject: Padding Question Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit rohit AT hotmail wrote: > Hi !! Ditto. > Is it possible to stop gcc from padding structures ? Yes. (I'm sure someone will tell you to RTFM :) But anyway, here goes: struct junk { //structure details } __attribute__((packed)); That ought to do it. But read the FAQ, there's a real wealth of info there. >Thnx. You're welcome. Ciao, TG