This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CFLAGS error when building cygwin.dll from snapshot download


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/


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