This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PAGESIZE


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.)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]