[prev in list] [next in list] [prev in thread] [next in thread] 

List:       autoconf
Subject:    Re: gcc -mno-cygwin and autoconf 2.50
From:       Earnie Boyd <earnie_boyd () yahoo ! com>
Date:       2001-05-30 13:58:17
Message-ID: 3B14FC79.D7BEA871 () yahoo ! com
[Download RAW message or body]

Tim Van Holder wrote:
> 
> On 29 May 2001 23:20:26 +0200, Teun Burgers wrote:
> > Hi
> >
> > I am maintaining the configure script for
> > gnugo (http://www.fsf.org/software/gnugo/)
> >
> > Under autoconf 2.13 when you had AC_EXEEXT
> > in you configure.in you could do under cygwin
> > a mingw32 build as follows:
> >
> > env CC='gcc -mno-cygwin' ./configure
> >
-8<-
> 
> Either that, or patching config.guess so it'll detect the right
> environment to begin with.

I wouldn't suggest this.

> 
> Of course, if you need to specify CC anyway, you might as well specify
> your host system too:
> 
>     ./configure CC='gcc -mno-cygwin' --host=i386-pc-mingw32
> 
> After all, you're basically cross-compiling, aren't you.

This is the correct way to do it.  You can shorten to --host=mingw32 if
you wish.

-- 
Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic