public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: How to use CMake with cygwin/mingw toolchain?
@ 2017-10-20 14:26 Peter Quiring
  2017-10-20 14:31 ` Arjen Markus
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Quiring @ 2017-10-20 14:26 UTC (permalink / raw)
  To: cygwin

Hi Arjen,

I'm talking about the mingw that is included with cygwin, not the
standalone version.
I assume you use mingw-w64.org but some of it's packages are too old.
The mingw that is included with cygwin is updated more frequently, but
it lacks a version of cmake.
Try running the cygwin setup.exe and search for "mingw" and you'll see
all the toolchains plus all the precompiled libraries.  Very nice.


>Hi Peter,
>
>I am not sure I understand all the details, but I have been using
>CMake under Cygwin and MinGW-w64/MSYS2 (I have to be complete here)
>for quite a few years now. Both Cygwin and MinGW-w64/MSYS2 have their
>own versions of CMake, so I use those.
>
>Do you mean to cross-compile?
>
>Regards,
>
>Arjen
>
>2017-10-20 14:50 GMT+02:00 Peter Quiring <pquiring@gmail.com>:
>> What is the current process to use the mingw toolchain that is
>> included with cygwin?
>>
>> There use to be a -mno-cygwin option used with gcc.
>>
>> The mingw versions have x86_64-w64-mingw32- or i686-w64-mingw32- added
>> to their exe names. Currently I just use these directly but I want to
>> use cmake.
>>
>> Cygwin also includes cmake. How would I configure it to use the mingw
>> toolset that is included with cygwin? I also see some Qt5 *.cmake
>> modules included in the Qt5 libraries for mingw.
>>
>> Would it be possible to include a version of cmake built for mingw?
>>
>> Thanks.
>>
>> --
>> Peter Quiring
>>

-- 
Peter Quiring

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread
* How to use CMake with cygwin/mingw toolchain?
@ 2017-10-20 12:50 Peter Quiring
  2017-10-20 13:05 ` Arjen Markus
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Peter Quiring @ 2017-10-20 12:50 UTC (permalink / raw)
  To: cygwin

What is the current process to use the mingw toolchain that is
included with cygwin?

There use to be a -mno-cygwin option used with gcc.

The mingw versions have x86_64-w64-mingw32- or i686-w64-mingw32- added
to their exe names. Currently I just use these directly but I want to
use cmake.

Cygwin also includes cmake. How would I configure it to use the mingw
toolset that is included with cygwin? I also see some Qt5 *.cmake
modules included in the Qt5 libraries for mingw.

Would it be possible to include a version of cmake built for mingw?

Thanks.

-- 
Peter Quiring

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-10-23 12:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-20 14:26 How to use CMake with cygwin/mingw toolchain? Peter Quiring
2017-10-20 14:31 ` Arjen Markus
  -- strict thread matches above, loose matches on Subject: below --
2017-10-20 12:50 Peter Quiring
2017-10-20 13:05 ` Arjen Markus
2017-10-20 18:34 ` Hans-Bernhard Bröker
2017-10-20 21:11 ` Yaakov Selkowitz
2017-10-23 12:22   ` Peter Quiring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).