X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=t3LV3oO Ks8+KlyErwXPPIjQ4dalr9fCjWXPp3SYeXRB2RtJSuW05pBxXTFea0te1D97vw6b 4Oxd1QjKt8R3VorLL0TxiwOY/oix/n0yExt8V4kuIGjOvQSdoOF7sygk2WduLLqZ xiuSYjjl2Pp/2wsK8KryBBv0N7RV3/s1KT44= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=dZlKBOYBjbmYb lYIXCpjLCgm8+s=; b=cnNdmtuV2ZNcpjh76U6sT3pgVoYzvcE0QLC5zD7XzGkfC 3cKd/SfvpEiSC96Y9kAOKerWT/w5jhen22A2WB9HtCTpwBu0rFAy3cRUMN99tybp bzcVhyKO9YVKQYWeHpk8IIp4Ahv1DSKBChwbI7zSI/eolyufkKL7bEuPqlgiKM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: mail-it0-f52.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=D8YZFsirJQb1ALhVfUU9n15rwue/lygKoRCgXROmaWI=; b=SRpTGPPN8NtGIEWXV0txErFkcKEi4kq4nHOTxoitDBKcBWmRnd5zBfJ5NKnbxIYvG/ WdJ8PY0cFWxH6U9dcsxkJHKsBYYJ4HiSMOpA7lhVEfbztDyRz9aASWCpOQW3E0K6C1sm vXc2kdKlJ/1FX5URYOOAokbW+d+NTPBiDpU414kzmFCmOEwGBP+P0L6ViSTFxGQDOS9e P+epNvC4W0cYWOHNQqanZpbZ4JlvA3JaSpYwB7tnNpDsPJdilJsPA0mQ7SA5UyMB4BTX o1IoKVOk6CDpth42/ueqgRZgzxGFt2sQA4iINHAyEWDGDrd0CNu40wjAzLEVmR8TG75a nSpA== X-Gm-Message-State: AMCzsaWANHEVAMR/CXtDywq3GnfnCxGUgtpjBG8nWevLjDVDvpHPBoTs 34NW3R5QAxsKcEKoOZXgmAXMihGkPw4Smx0imUE= X-Google-Smtp-Source: ABhQp+QhzF7zEIeYQqQoOf1wxA11XrRHgNGIthJoj2Inu9Jcq1hdnT1i6GBFnZKFfkSYrEN7yqIeozaYipHap9y1QL4= X-Received: by 10.36.125.144 with SMTP id b138mr2367266itc.80.1508504749920; Fri, 20 Oct 2017 06:05:49 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Arjen Markus Date: Fri, 20 Oct 2017 15:05:49 +0200 Message-ID: Subject: Re: How to use CMake with cygwin/mingw toolchain? To: Andrey Repin Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes 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 : > 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 > -- 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