Message-ID: <337343D3.4A32@silesia.top.pl> Date: Fri, 09 May 1997 17:33:39 +0200 From: Michal MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Alignment Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Precedence: bulk I've checked the archives. It seems that doubles (and ints too) are not aligned on a boundary that is their size, but on a boundary that is HALF of their size. I have 50% chance that they're aligned properlly, so all I can do is align them manually by adding some variables beafore. So my interpretation of FAQ section 14.3 was right? Am I right or not? __attribute__ ((aligned (8))) doesn't seem to work. Is there really no way to align a global variable in DJGPP? I find out that puting - asm (" .align 5 ") - (it don't have to be 5, can be other number) beafore some peace of code have an infuence on its alignment. The global variables are kept after the code so this method won't work with them.