delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/27/08:49:22

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C388385E014
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1585313311;
bh=qQex5ATZpdUIqTtMM8d2/0IHpjKQ/6EQMZKSAHAZRkk=;
h=Subject:To:Date:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=eRhZlIUkTbCyDZPwA+xqg8LfKOKNR1LSKtydZtPjl2g28rCyXqhFqJLq10NDNbJyM
MprBe20Bss/e8cDfDz85OfNZFSdAdCMVmbxm+r0V1RF5UaNn+9DVAlqUae51HP2dfO
l0mc+wPTxQtKSkKsX2SFn7l00q9v+qVrgqWudU9w=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DF52E385E006
Message-ID: <e2c1cdf7bfd0e8a13759ff4498c7d431d9d53ab2.camel@tdcadsl.dk>
Subject: Re: Use cygwin to run autotools for MSVC?
To: Mike Gran <spk121 AT yahoo DOT com>, Cygwin List <cygwin AT cygwin DOT com>
Date: Fri, 27 Mar 2020 13:48:24 +0100
In-Reply-To: <537493096.2714240.1585254646086@mail.yahoo.com>
References: <537493096 DOT 2714240 DOT 1585254646086 DOT ref AT mail DOT yahoo DOT com>
<537493096 DOT 2714240 DOT 1585254646086 AT mail DOT yahoo DOT com>
User-Agent: Evolution 3.32.5 (3.32.5-1.fc30)
MIME-Version: 1.0
X-yse-mailing: LEGIT
X-yse-spamcause: OK,
(-100)(0000)gggruggvucftvghtrhhoucdtuddrgedugedrudehledggeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvfffvedpggftfgfpufgfuefuveftkfeugfdpqfgfvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkffuhffvffgjfhgtfggggfesthejredttderjeenucfhrhhomheprfgvthgvrhcuffhonhhsucfvhigthhhsvghnuceoughonhhpvggurhhosehtuggtrggushhlrdgukheqnecukfhppedutddrvdeirddvvdeirddufedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghlohepmhifuhhmfhdtfedtiedpihhnvghtpedutddrvdeirddvvdeirddufedupdhmrghilhhfrhhomhepughonhhpvggurhhosehtuggtrggushhlrdgukhdprhgtphhtthhopehsphhkuddvudeshigrhhhoohdrtghomhdprhgtphhtthhopegthihgfihinhestgihghifihhnrdgtohhm
X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
SPF_PASS autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <http://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Peter Dons Tychsen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Peter Dons Tychsen <donpedro AT tdcadsl DOT dk>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Hi Mike,

> Is it possible use Cygwin to run an autotools 'configure' script but
> have the compiler be MSVC?

Yeah, sure, i have done this in the past.

"./configure CC=cl.exe" should get you going as far as i remember. Make
sure your MS tools are in your PATH.

There are limitations though, as some of library search mechanisms in
autoconf will not work as expected, so do not expect larger projects to
work without having to hack a bit in those nasty M4 macro files
(yikes!).

But for simple projects it does actually work, which is what i used it
for. I have not tried it recently, but i guess it still is supported.

Thanks,

/pedro

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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