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=uXALl9H 5iB2vksf/o9DbB8MXcE+vHPJ4gAA0IU32AGb7E+2Rc+LVwPtJo6ydua+PtSV1+fQ O+rNGZDWyMMgd3dtSAPtTwsqpglBGjCMi+RFv0Gkay+Zpe8C52IMNTknTjlKGaL8 iPF5MguIAu5v60b04OIi8noX7NVxbShroF2U= 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=5lsJfBZya2zJv GIyCC5dH5NEx74=; b=veBZ+QGVM2iRPQQFOT8LfJeScOjh8dVFr1TQtLNymn1Ld QHe+HO0mELDlYQOB6eUFBiVva2526NxfwTiIMJVTWK0wh7AL9cIxcAaFlKK1Hw51 JIcWvbXqo7FqGQsdR9ytlUGqPZJwNHUb10OASYSDaoBNJnlvqyepWntPR5fzUc= 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.6 required=5.0 tests=BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=pquiringgmailcom, Arjen, mingw-w64.org, qt5 X-HELO: mail-io0-f170.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=Jdgu+z2UYDbC4a3GkTJ/bM76MgHGLxdoelpZwRY364I=; b=YNc3yLHZAL7Wv1U852qsDvcLJu123mepzdz6U4s/Egi9usgZxqojVzUdURXf407T6L cB60dNw/mHvG/9R/oIGXfW93W5+MPPKQWdQ/0Q0C14NrIUK/UXacinyn6s9Nd49xS6CX zT4aWX3N6DsKQCvUXciA2hc63JArUo3Q8g41pAMVsxx1Dz8tpb0j5+JrLng2Y35V9vmg e+tM/TN+5WZAnGhd0Nc/MhaG8dG6/64rvvv6iY50/6GQ421XZ/XspDE5zYuUsONhuVIc SVzHTEKYxBYRB+ZixfA/LP2eQ0Ilvr9Y1nzkM4Y+jHZHUKziKystmtaTOH9+f0+l6U3a GLKQ== X-Gm-Message-State: AMCzsaU8Wk1BfkC+6NkKp9V2AV5Y4Veym8BREEzqfC93ecXDi99d90BW 5x/NDFUXz0dm57CbZ1AIZeGdQgHS0202TkfTmCU= X-Google-Smtp-Source: ABhQp+QcryflbcTnOOMLryIhDjV+nq0hMTUqbWZ9ki2va0sccuXDGhYQNoRptLSIHbk4LLEX8Xum6+8k3hf+S0MS8DE= X-Received: by 10.107.35.148 with SMTP id j142mr7265239ioj.241.1508509912220; Fri, 20 Oct 2017 07:31:52 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Arjen Markus Date: Fri, 20 Oct 2017 16:31:51 +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 That's the one indeed - I have no experience with the MinGW distribution under Cygwin though. Perhaps I should try that one too :). Regards, Arjen 2017-10-20 16:25 GMT+02:00 Peter Quiring : > 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 > -- 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