This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Data alignment


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]