# Re: Packing structures with gcc

- List: linuxppc-dev
- 1 message, 1 author
- Page: https://ratatoskr.run/linuxppc-dev/2000/10/9373243/t

## Re: Packing structures with gcc

- From: David Edelsohn \<hidden\>
- Date: 2000-10-06 05:04:46 
- Message: https://ratatoskr.run/linuxppc-dev/2000/10/9373243.md

```text

	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/
```
