[Top][All Lists]

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

Re: Support for MinGW compilers in the Cygwin environment

From: Earnie Boyd
Subject: Re: Support for MinGW compilers in the Cygwin environment
Date: Thu, 24 Oct 2013 08:59:33 -0400

On Thu, Oct 24, 2013 at 6:40 AM, JonY wrote:
> On 10/24/2013 14:04, Daniel Richard G. wrote:
>> On Wed, 2013 Oct 23 7:55-0400, Earnie Boyd wrote:
>>> JonY you forget to mention that what Daniel is trying to do has
>>> already been tried once and long since abandoned in favor of using a
>>> cross compiler.  Remember the -mno-cygwin conglomeration of ugliness?
>> Well, that's using a single toolchain to generate both Cygwin *and*
>> MinGW binaries. And I can see why that would be ugly.
>> If you think that's what I'm trying to do, however, then you need to
>> re-read the thread.
> You are doing exactly that, reviving it, and adding more kludge.
> Instead of CC="gcc -mno-cygwin", you are doing it by
> CC="i686-pc-mingw32-gcc", expecting even config.guess detection to bend
> over.

Daniel, you can have configure use i686-pc-mingw32 or any other host
triplet by specifying it in your environment rather than on the
command line.  Then config.guess doesn't have to guess.

export ac_cv_host=i686-pc-mingw32

The same is true for build as well.  If host == build then it is
considered native else it is considered a cross compile.


reply via email to

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