From: David Edelsohn <dje@watson.ibm.com>
To: Robert Rati <arr060@email.mot.com>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: Packing structures with gcc
Date: Fri, 06 Oct 2000 01:04:46 -0400 [thread overview]
Message-ID: <200010060504.BAA22354@mal-ach.watson.ibm.com> (raw)
In-Reply-To: Message from Robert Rati <arr060@email.mot.com> of "Thu, 05 Oct 2000 18:15:13 CDT." <39DD0B81.1B174A4C@email.mot.com>
Have you looked at the "__attribute__ ((packed))" functionality in
the GCC documentation under C Extensions -- Variable Attributes? That
should allow you to pack the members of the structure when it is
declared.
David
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
prev parent reply other threads:[~2000-10-06 5:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-05 23:15 Packing structures with gcc Robert Rati
2000-10-06 5:04 ` David Edelsohn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200010060504.BAA22354@mal-ach.watson.ibm.com \
--to=dje@watson.ibm.com \
--cc=arr060@email.mot.com \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).