autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc -mno-cygwin and autoconf 2.50


From: Earnie Boyd
Subject: Re: gcc -mno-cygwin and autoconf 2.50
Date: Wed, 30 May 2001 09:58:17 -0400

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]