Message-Id: <000801bd43ae$f6baf520$45111d0f@ros51675cra.rose.hp.com> From: "Andrew Crabtree" To: , "Maciej Radziejewski" Subject: Re: PGCC and rhide and PGCC installation under DJGPP Date: Fri, 27 Feb 1998 10:38:49 -0800 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Precedence: bulk >I have seen it mentioned twice, that you >only need to extract the PGCC zip files >to install it under DJGPP. Correct. >However the PGCC readme tells me to make >changes to the 'crt1.c' file and rebuild >the library for stack-alignment fixes. Correct also. >Is it really necessary? If you want maximum performance then you should do this. It will only affect you if you use floating point though. If you don't do it then you could take a severe performance hit for local variable accessing. PGCC will attempt to align 8 bytes variables to a dword (assume word = 32 bits) boundary. The Pentium processor fetches doubles faster if they are aligned. Now, if the stack isn't aligned to a dword to start then all of your accesses will be mis-aligned. >If so, does anybody have a pre-compiled >patched 'libc.a'? I keep meaning to upload one to goof. I'd been waiting for more disk space to arrive. I'll get on it someday. >The readme does mention some lfn problems >when rebuilding and they make a newbie like >me a bit scared. Its not bad if you have instructions (which you do in the pgcc readme). Andy