| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Original-To: | cygwin AT cygwin DOT com |
| Delivered-To: | cygwin AT cygwin DOT com |
| DMARC-Filter: | OpenDMARC Filter v1.3.2 sourceware.org 099B9385E009 |
| Authentication-Results: | sourceware.org; |
| dmarc=none (p=none dis=none) header.from=cs.umass.edu | |
| Authentication-Results: | sourceware.org; |
| spf=pass smtp.mailfrom=moss AT cs DOT umass DOT edu | |
| Subject: | Re: Use cygwin to run autotools for MSVC? |
| To: | Csaba Raduly <rcsaba AT gmail DOT com>, Mike Gran <spk121 AT yahoo DOT 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> | |
| <CAEhDDbDRF5C-feEhcbjBZWM2y6uX0TZzd=DcZs3yjnYV+JwpnQ AT mail DOT gmail DOT com> | |
| From: | Eliot Moss <moss AT cs DOT umass DOT edu> |
| Message-ID: | <c82e3e8c-c79e-37c9-e56e-40b78355ceb9@cs.umass.edu> |
| Date: | Thu, 26 Mar 2020 19:05:59 -0400 |
| User-Agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 |
| Thunderbird/68.6.0 | |
| MIME-Version: | 1.0 |
| In-Reply-To: | <CAEhDDbDRF5C-feEhcbjBZWM2y6uX0TZzd=DcZs3yjnYV+JwpnQ@mail.gmail.com> |
| X-Spam-Status: | No, score=-6.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, |
| SPF_HELO_NONE, SPF_PASS, TXREP 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> | |
| Reply-To: | moss AT cs DOT umass DOT edu |
| Cc: | Cygwin List <cygwin AT cygwin DOT com> |
| Errors-To: | cygwin-bounces AT cygwin DOT com |
| Sender: | "Cygwin" <cygwin-bounces AT cygwin DOT com> |
On 3/26/2020 5:37 PM, Csaba Raduly via Cygwin wrote: > Hi Mike, > > On Thu, Mar 26, 2020 at 9:31 PM Mike Gran via Cygwin <cygwin AT cygwin DOT com> > wrote: > >> Hi- >> Is it possible use Cygwin to run an autotools 'configure' script but have >> the compiler be MSVC? >> > > I would be very surprised if this worked. 'configure' is likely to run the > compiler with unix-style flags (started with hyphens) rather than DOS-style > flags (started with forward slashes). cl.exe may accept only DOS-style > flags. > > Also, MSVC won't be able to find Cygwin's include files, and even if it > did, most likely won't be able to compile them. > > The whole thing sounds like a recipe for failure. What are you trying to > achieve? All that said, I _have_ seen build processes organized to give MSVC as an option ... and that in fact sometimes make it hard to do a Cygwin build because they "want" to do a native Windows build! However, this may have been more just a canned Makefile than a whole ./configure process ... Eliot -- 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |