This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Data alignment
- To: Silvio Bandeira <silvio at dei dot unicap dot br>
- Subject: Re: Data alignment
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Thu, 07 Sep 2000 12:55:40 -0400
- cc: gcc at gcc dot gnu dot org
>>>>> Silvio Bandeira writes:
Silvio> I'm using gcc in a AIX 4.2.1 box and I'd like to know if there's an
Silvio> option to tell the compiler I want all my data aligned with 1 byte
Silvio> boundary. I saw the "packed" attribute in gcc manual, but I'd find it
Silvio> more simple and portable if I didn't need to put it hardwared in the code.
I do not belive that GCC has a commandline option equivalent to
IBM XLC's -qalign=packed which applies the alignment to all objects
automatically.
David