Re: Improve Autoconf MSVC support

Antonin Décimo <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <CACCWBSDYBs+piOLSvcKsFJkchzjm0KOZOyVSeN8qWWDVpw4Ldw@mail.gmail.com>
Hi Nick,
Thank you for your reply!

> I guess you are not using Automake, because both of these problems
> should be solved automatically by Automake.  Automake replaces $CC
> with invocations through a wrapper script that knows how to translate
> -l and -o options into MSVC equivalents (such as -Fo/-Fe).
>
> If you don't want to use Automake I suggest at least using this
> wrapper script in your project.

I'm not using Automake but I'll consider it. Were you referring to cccl?
https://github.com/swig/cccl
I'll try it, thanks.

> >   MSVC doesn't have a version flag but will report its version if
> >   called directly.
>
> I don't understand why this is important.

It's not important, but reading the config.log file, I see that
configure is trying multiple version flags one after the other, that
MSVC doesn't recognize. Maybe I just misunderstood and configure is
trying to tell whether the compiler executable runs?

-- Antonin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.