This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: Revised^2 precompiled header support for cygwin
- From: "Billinghurst, David \(CALCRTS\)" <david dot billinghurst at comalco dot riotinto dot com dot au>
- To: "Christopher Faylor" <me at cgf dot cx>,<gcc-patches at gcc dot gnu dot org>
- Date: Wed, 2 Mar 2005 10:01:17 +1100
- Subject: RE: Revised^2 precompiled header support for cygwin
> From: Christopher Faylor
>
> Before anyone jumps the gun and approves this patch, please let me
> discuss the use of mmap with the cygwin mmap maintainer. I've never
> liked the requirement of going to the windows api that was in this
> and the previous implementation and I'm verifying if there is some
> other way to do this.
>
We could just do the same as host-mingw32.c, and hard code the value.
/* Granularity for reserving address space. */
static const size_t va_granularity = 0x10000;
/* Granularity for reserving address space. */
static size_t mingw32_gt_pch_alloc_granularity (void)
{
return va_granularity;
}
NOTICE
This e-mail and any attachments are private and confidential and may contain privileged information. If you are not an authorised recipient, the copying or distribution of this e-mail and any attachments is prohibited and you must not read, print or act in reliance on this e-mail or attachments.
This notice should not be removed.