X-Spam-Check-By: sourceware.org Date: Mon, 14 Aug 2006 15:48:30 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: CFLAGS error when building cygwin.dll from snapshot download Message-ID: <20060814134830.GE20467@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <200608141342 DOT 17152 DOT howard DOT thomson AT dial DOT pipex DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608141342.17152.howard.thomson@dial.pipex.com> User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Aug 14 13:42, Howard Thomson wrote: > Hi all, > > I am attempting to build a modified cygwin[x].dll in order to incorporate some > changes to the retained Windows ACLs (Access Control Lists), for which a > replacement winsup/cygwin/sec_acl.cc has been written by Srinivasa Battula. > > I normally do cross-compilation from Linux to Win32 but in this case it > appears to be much(!) easier to install Cygwin on Win XP and do ./configure; > make etc there, however ... > > The build fails for the current Cygwin install and the source snapshot from > 2006-08-10 with an error report as follows (approx): > > configure: configuring in libc > configure: running /bin/sh ' ... /newlib/libc/configure' ..... > ..... > configure: error 'CFLAGS' has changed since the previous run: > configure: former value -O2 -g -O2 > configure: current value: -O2 -g -O2 This is an old newlib problem which should be solved in current CVS, AFAIK. I just built a complete cygwin source tree from scratch, with standard CFLAGS, on Linux and on Cygwin. Both builds worked just fine. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/