cl.exe and system types

2018-08-20 Thread Sébastien Hinderer
Dear all, I am writing an autoconf script for a project which is supposed to compile under both Unix and Windows. Under Windows, the project will be built under Cygwin but it should be possible to use both MingW and cl.exe to compile it. For the MingW case, giving thee right --host= option works

Re: cl.exe and system types

2018-08-20 Thread Bob Friesenhahn
On Mon, 20 Aug 2018, Sébastien Hinderer wrote: Dear all, I am writing an autoconf script for a project which is supposed to compile under both Unix and Windows. Under Windows, the project will be built under Cygwin but it should be possible to use both MingW and cl.exe to compile it. I don't

Re: cl.exe and system types

2018-08-20 Thread Bob Friesenhahn
On Mon, 20 Aug 2018, Bob Friesenhahn wrote: Under Windows, the project will be built under Cygwin but it should be possible to use both MingW and cl.exe to compile it. I don't know that MSVC is supported by Autotools. It would be nice if it was. Have you seen a statement that this is suppor

Re: cl.exe and system types

2018-08-20 Thread Sébastien Hinderer
Dear Bob, Many thanks for your responses. Bob Friesenhahn (2018/08/20 10:44 -0500): > I don't know that MSVC is supported by Autotools. It would be nice if it > was. Have you seen a statement that this is supported? Well, here is what AC_PROG_CC outputs when running $ ./configure CC=cl checkin

Re: cl.exe and system types

2018-08-20 Thread Bob Friesenhahn
On Mon, 20 Aug 2018, Sébastien Hinderer wrote: Bob Friesenhahn (2018/08/20 10:44 -0500): I don't know that MSVC is supported by Autotools. It would be nice if it was. Have you seen a statement that this is supported? Well, here is what AC_PROG_CC outputs when running $ ./configure CC=cl che

Re: cl.exe and system types

2018-08-20 Thread Sébastien Hinderer
Bob Friesenhahn (2018/08/20 12:52 -0500): > Are you using Cygwin for your shell environment? Yes, absolutely. Do you think this makes things better, or worse? :) Sébastien. ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman/listin

Re: cl.exe and system types

2018-08-20 Thread Earnie
On 8/20/2018 2:19 PM, Sébastien Hinderer wrote: > Bob Friesenhahn (2018/08/20 12:52 -0500): >> Are you using Cygwin for your shell environment? > > Yes, absolutely. Do you think this makes things better, or worse? :) > Well MSYS2 might work better because it caters to the Windows applications bu

Re: cl.exe and system types

2018-08-20 Thread Bob Friesenhahn
On Mon, 20 Aug 2018, Sébastien Hinderer wrote: Bob Friesenhahn (2018/08/20 12:52 -0500): Are you using Cygwin for your shell environment? Yes, absolutely. Do you think this makes things better, or worse? :) It does mean that you are effectively cross-compiling so you would need to execute