From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by sourceware.org (Postfix) with ESMTPS id 77741385E006 for ; Thu, 26 Mar 2020 21:38:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 77741385E006 Received: by mail-wm1-x32d.google.com with SMTP id c81so8873224wmd.4 for ; Thu, 26 Mar 2020 14:38:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z6uDCsBdQ+aKb4c0NITHEykOfzbuuK/0O1FRDbD2uNg=; b=jPu+mXVx9x3QzC/fjpn+v2Ge/G++4dLDfh+WrCwRRrK1pvfOkzaz3o8M34yNwhFUMz PMI2SAlEqnCQyDYJ9uCR2tCL2PlH+SoyFbxUP6UFjrgyv6hY3XRGeVAKrg2y4zwWpA7x VLyYGaaYt4o+sIYkrxD90yFnAyrcF9IkLDZNUMCiP7TD96qTAGPc0bxb9PoCnquqiruI On8gLpn7nE3cg1vAeNItsHEy8A+ifdw0uWMakDXUoeVCKoJ28mko8YoQaHKq9XOn/gEw HIyAOABE5kIoCmKjHkgP01DuxEJCmU3CDWPxxS9ZjGpQxxI0fgErOqhzc7GQ1srRgei5 Lu/Q== X-Gm-Message-State: ANhLgQ22fIydKCjIgnFYRsISfXbKMlJz8iTxH3suuIl1wRRj3iKdttgR EMuZ7kk3nw2QJnINtwnle30go9fcX6zGLaFajrQ= X-Google-Smtp-Source: ADFU+vvmRo/3W1F0Nsk54mwQY8Gdu+jC03YsISD2n4/K/k4bmpKJm/HhN12RWnnGvHzLPwN/mhJh/t2UFISXCHCpnyo= X-Received: by 2002:a05:600c:2904:: with SMTP id i4mr2089048wmd.41.1585258682276; Thu, 26 Mar 2020 14:38:02 -0700 (PDT) MIME-Version: 1.0 References: <537493096.2714240.1585254646086.ref@mail.yahoo.com> <537493096.2714240.1585254646086@mail.yahoo.com> In-Reply-To: <537493096.2714240.1585254646086@mail.yahoo.com> From: Csaba Raduly Date: Thu, 26 Mar 2020 22:37:50 +0100 Message-ID: Subject: Re: Use cygwin to run autotools for MSVC? To: Mike Gran Cc: Cygwin List X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, 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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2020 21:38:05 -0000 Hi Mike, On Thu, Mar 26, 2020 at 9:31 PM Mike Gran via Cygwin 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? Csaba -- You can get very substantial performance improvements by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler So if you're looking for a completely portable, 100% standards-conformant way to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK)