delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/06/30/01:40:44

Date: Sun, 30 Jun 2002 08:36:09 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: AYeryomin AT excelsior-usa DOT com
cc: djgpp AT delorie DOT com
Subject: Re: How to align members/data under gcc/DJGPP?
In-Reply-To: <96eb2770.0206270530.3d2253dc@posting.google.com>
Message-ID: <Pine.SUN.3.91.1020630083353.18374D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 27 Jun 2002 AYeryomin AT excelsior-usa DOT com wrote:

> I can't find in FAQ (sorry, maybe I missed it), how to align struct
> members under gcc/DJGPP?

See sections 22.11 and 22.12 of the FAQ.

> Is it possible to align also data object (variables) into the memory?
> F.e., all variables should be alignment by the paragraph 16 bytes.
> How?

Inline assembly could help here.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019