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:from:date:message-id:subject:to :content-type; q=dns; s=default; b=GPDTn1Dm67eEc4vYMhxBqMMWbsGoK nN7oZKmCnn5VBR522JhYCvcPxKuJI3ya603gaBwAcmgt8GsiDPrN5vGOlLKdgbMT 47sbBx+tA+rdv7QucHUrZycMCUnu0ILt1CN8TUNxcg8iyVCYZDSz5rawYnxh3Efy HiEx72fSgfKuHk= 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:from:date:message-id:subject:to :content-type; s=default; bh=f/IHtb3WWWZ8fzCR6Y+LRqJm0xc=; b=ngt bbPSvC5tPTQJPWt3uoiyHxjKKTp6qMsCiocGfnZLXJedC73MYqZpy2gVUl6lXRdq ut9r5fSbhhL9a/79J0WRM8erobD5nMgi1qJX3ep0VTpY1GTs048epmJBM8JPBNva RJbuSa/rda2AbRcNVWKBx0KxCieh0g+hjWF4/5YA= 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.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: mail-lf0-f48.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:from:date:message-id:subject:to; bh=yFhoIAGOqqv61Cxdo1ScFwy6Wb9H78RCHW+9wlAyliQ=; b=eRieflmQanLu1x/vNSl5/OpJmhvXxJ2t4zXzzj7jx1/kyPnBNpJDXNKx5zsmlVM2uX ajMHhVeDgXGGi3NHPklLKkZ35CXygJWs5B2Yu4a3PQSfGHTmhpyETVpHiD2s0pnQlwg6 HO8YLVqfX3EBEtNO0sEwySHf6imZs3TWEFPVNdg4HgasT987pgYGcR19rj5a3bTj1fFh 8x9jp+I82ZrFTZ+ZtZ2w2zDPsYLToltE2rc4oQEvOXMYVhADpKA9lA0wU3UwhUT5I/l9 J1f3Ywne+NH9LlKkENxzx0zhZILQzjCvXhCQ+tZBI9UwCGi/dw3PDJ+ROU+uLkpI7cZm dPiw== X-Gm-Message-State: AMCzsaW4kF5NS+nCKJ4+woAETQEuia4Kqt5ixAlTzRU7Us0prthMS3Yc 4799LqDIzViWLi4Hyxddjkn0hU7ibBC8YZ7udVRcrQ== X-Google-Smtp-Source: ABhQp+QqnkGfE4v2RyYIwrRv4H4O7ACsPiQzkD84M1cORo2MlI1wdU56j+vV6yeKUl9Ls7PjM5wWL8JlGNWmwWFE4VU= X-Received: by 10.25.198.200 with SMTP id w191mr1829780lff.84.1508509578707; Fri, 20 Oct 2017 07:26:18 -0700 (PDT) MIME-Version: 1.0 From: Peter Quiring Date: Fri, 20 Oct 2017 10:25:58 -0400 Message-ID: Subject: Re: How to use CMake with cygwin/mingw toolchain? To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" 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 : >> 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