delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/03/15/17:41:27

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: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <008a01c0ad9e$09cf9150$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <cygwin-apps AT cygwin DOT com>, "Earnie Boyd" <autoconf AT gnu DOT org>
References: <035401c0ac91$3ba21fd0$0200a8c0 AT lifelesswks><022001c0accf$29b724d0$0200a8c0 AT lifelesswks><orelvz60mr DOT fsf AT guarana DOT lsd DOT ic DOT unicamp DOT br><007f01c0ad2e$f3dc5d20$0200a8c0 AT lifelesswks><00a301c0ad32$57ad0220$0200a8c0 AT lifelesswks><mv4elvz5pma DOT fsf AT nostromo DOT lrde DOT epita DOT fr><00c801c0ad36$01ec3370$0200a8c0 AT lifelesswks><mv466hb5ohw DOT fsf AT nostromo DOT lrde DOT epita DOT fr><011a01c0ad41$c0fbc9a0$0200a8c0 AT lifelesswks><mv4snkf43ot DOT fsf AT nostromo DOT lrde DOT epita DOT fr><01b801c0ad4b$9b2f1380$0200a8c0 AT lifelesswks><mv4k85r42vu DOT fsf AT nostromo DOT lrde DOT epita DOT fr><01c401c0ad4c$7e469ad0$0200a8c0 AT lifelesswks> <mv4bsr341z1 DOT fsf AT nostromo DOT lrde DOT epita DOT fr> <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
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" <cgf AT redhat DOT com>
To: <cygwin-apps AT cygwin DOT com>; "Earnie Boyd" <autoconf AT gnu DOT org>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019