Mail Archives: djgpp/1998/02/27/13:43:17
>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
- Raw text -