This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Precompiled header support on cygwin
- From: Christopher Faylor <cgf at redhat dot com>
- To: Earl Chew <earl_chew at agilent dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 9 Jul 2003 21:53:33 -0400
- Subject: Re: [PATCH] Precompiled header support on cygwin
- References: <3F0C4BA5.2010802@agilent.com>
On Wed, Jul 09, 2003 at 10:06:45AM -0700, Earl Chew wrote:
>This patch detects extra alignment and file sizing requirements to
>enable precompiled header support on Cygwin.
>
>Reliable collaboration between the two mmap() calls
>(gt_pch_save and the subsequent gt_pch_restore) requires use
>of Cygwin mmap.cc 1.78 or later.
>
>I've tested this on i386-pc-cygwin.
>
>2003-07-09 Earl Chew <earl_chew@agilent.com>
>
> * aclocal.m4: Add new macro to detect Win32 GetSystemInfo
> * configure.in: Detect Win32 GetSystemInfo
> * ggc-common.c (gt_pch_save): Perform extra alignment actions
> to allow Cygwin mmap() to succeed both here and later in
> during gt_pch_restore
Do we really need to do this? Isn't the mmap problem going away in
Cygwin with the next release?
cgf