On Tue, Nov 25, 2003 at 04:27:49PM +0100, Maciej W. Rozycki wrote: > After rebuilding glibc (2.2.5) with the patch applied, the following > program: > > #include <stdio.h> > #include <unistd.h> > > int main(void) > { > printf("%u\n", getpagesize()); > return 0; > } > > prints "4096" if dynamically linked and "65536" if statically linked on my > system, as expected. Guess we'll need a solution along the lines of unix/sysv/linux/sparc/sparc32/getpagesize.c then ... Ralf