Use cygwin to run autotools for MSVC?

Csaba Raduly rcsaba@gmail.com
Thu Mar 26 21:37:50 GMT 2020


Hi Mike,

On Thu, Mar 26, 2020 at 9:31 PM Mike Gran via Cygwin <cygwin@cygwin.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?


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)


More information about the Cygwin mailing list