PAGESIZE
Bruce Korb
bkorb@sco.COM
Tue Sep 5 14:58:00 GMT 2000
DJ Delorie wrote:
>
> 2000-09-05 Bruce Korb <bkorb@gnu.org>
>
> * gcc/fixinc/fixincl.c(load_file): always read header files
> with sizes that are a multiple of the page size.
>
> "PAGESIZE" isn't always defined. It isn't on Linux, for example.
I presume that that is the case so that it can be varied?
>From what to what, I wonder. Surely not from one memory
manager to another within the same OS image. :-).
At any rate, there is no sysconf(2) attribute for it either.
I propose disabling mmap altogether, unless someone can point
me to a portable solution. (Always assume that a memory page
will never be smaller than 0x1000, for example? I never get
warm fuzzies from such assumptions.)
More information about the Gcc
mailing list