Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <034101c0adad$d0f94b40$0200a8c0@lifelesswks> From: "Robert Collins" To: Cc: References: <035401c0ac91$3ba21fd0$0200a8c0 AT lifelesswks><022001c0accf$29b724d0$0200a8c0 AT lifelesswks><007f01c0ad2e$f3dc5d20$0200a8c0 AT lifelesswks><00a301c0ad32$57ad0220$0200a8c0 AT lifelesswks><00c801c0ad36$01ec3370$0200a8c0 AT lifelesswks><011a01c0ad41$c0fbc9a0$0200a8c0 AT lifelesswks> <01b801c0ad4b$9b2f1380$0200a8c0 AT lifelesswks> <20010315102922 DOT B1727 AT redhat DOT com> <006c01c0ad9d$18618990$0200a8c0 AT lifelesswks> <20010315174916 DOT D6629 AT redhat DOT com> <026501c0ada3$3942af80$0200a8c0 AT lifelesswks> <20010315190830 DOT A7841 AT redhat DOT com> Subject: Re: updated win32 macro Date: Fri, 16 Mar 2001 11:12:39 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 16 Mar 2001 00:06:48.0817 (UTC) FILETIME=[FEDBC610:01C0ADAC] Well CFLAGS was the autoconf maintainers suggestion. I think I'll stick with that, and let any individual maintainer (such as cgf :] ) use the low level interface if they have a non-ordinary environment. Rob ----- Original Message ----- From: "Christopher Faylor" To: "Robert Collins" Cc: ; Sent: Friday, March 16, 2001 11:08 AM Subject: Re: updated win32 macro > On Fri, Mar 16, 2001 at 09:56:43AM +1100, Robert Collins wrote: > >So in a nutshell, because some packages change CFLAGS, and others change > >CC, we require everyone to change their Makefiles ? > > > >I agree that overriding CC is bad - thats why it was changed to CFLAGS. > >But CFLAGS is the standard way of changing the compiler behaviour - why > >do the makefiles over ride that? And how common a practice is that? > > > >In fact, on second thought, packages that override CFLAGS just use the > >low level interface > >AC_PROG_CC_WIN32 > >EXTRA_CFLAGS="$WIN32FLAGS" > > I'm sure that the autoconf maintainers have more experience with this > than I, but IMO relying on overriding of CC and CFLAGS isn't the way to > go. When I first started changing things, I thought I could use this > technique but I think it is too fragile. > > cgf >