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: <008a01c0ad9e$09cf9150$0200a8c0@lifelesswks> From: "Robert Collins" To: , "Earnie Boyd" 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><01c401c0ad4c$7e469ad0$0200a8c0 AT lifelesswks> <000001c0ad53$b37dc9b0$9865fea9 AT edward> <3AB0C6A2 DOT 8AFE126C AT yahoo DOT com> <023d01c0ad57$68af41d0$0200a8c0 AT lifelesswks> <20010315105134 DOT D1727 AT redhat DOT com> Subject: Re: updated win32 macro Date: Fri, 16 Mar 2001 09:19:42 +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: 15 Mar 2001 22:13:52.0483 (UTC) FILETIME=[37D94330:01C0AD9D] ----- Original Message ----- From: "Christopher Faylor" To: ; "Earnie Boyd" Sent: Friday, March 16, 2001 2:51 AM Subject: Re: updated win32 macro > On Fri, Mar 16, 2001 at 12:54:01AM +1100, Robert Collins wrote: > > > >Not true if you want to support users with cygwin gcc 2.95.2-6. That's > >what I didn't like about the code Chris was putting in his configure.in > >and prompted me to put into practice what I'd been thinking about. > > I'm not sure what you're referring to but anything I posted would > accomodate older or newer compilers. > > I am very happy to see an autoconf option for this, though. That's > what I was hoping for. > > cgf > this is what I was referring to: == case "${host}" in *-*-cygwin*) touch ac$$.c if ${CC} -c -mwin32 ac$$.c >/dev/null 2>&1; then case "$EXTRA_CFLAGS" in *-mwin32*) ;; *) EXTRA_CFLAGS="-mwin32 $EXTRA_CFLAGS" ;; esac fi rm -f ac$$.o ac$$.c ;; esac AC_SUBST(EXTRA_CFLAGS) == and I suspect your goal here is to just force it on IFF the compiler doesn't produce an error when you try the command? In which case yes, it would have worked.. Gotta start being awake when I read mail in the morning :] Rob