| www.delorie.com/archives/browse.cgi | search |
| X-pop3-spooler: | POP3MAIL 2.1.0 b 4 980420 -bs- |
| Message-ID: | <19980909023957.41481@cerebro.laendle> |
| Date: | Wed, 9 Sep 1998 02:39:57 +0200 |
| From: | Marc Lehmann <pcg AT goof DOT com> |
| To: | Bill Huey <billh AT burn DOT ucsd DOT edu>, pgcc-list AT Desk DOT nl |
| Subject: | Re: struct element alignment... |
| Mail-Followup-To: | Bill Huey <billh AT burn DOT ucsd DOT edu>, pgcc-list AT Desk DOT nl |
| References: | <35F5BA52 DOT F22E4D19 AT burn DOT ucsd DOT edu> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <35F5BA52.F22E4D19@burn.ucsd.edu>; from Bill Huey on Tue, Sep 08, 1998 at 04:14:26PM -0700 |
| X-Operating-System: | Linux version 2.1.120 (root AT cerebro) (gcc version pgcc-2.91.57 19980901 (egcs-1.1 release)) |
| Status: | RO |
| Lines: | 15 |
On Tue, Sep 08, 1998 at 04:14:26PM -0700, Bill Huey wrote:
> Hello, is there a method of telling gcc/egcs/pgcc to align struct
> elements
> so that they are packed without the use of any padding ???
how about looking into the gcc documentation? "alignment"
and "packed" should give you what you want..
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg AT goof DOT com |e|
-=====/_/_//_/\_,_/ /_/\_\ --+
The choice of a GNU generation |
|
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |