Re: How to use CMake with cygwin/mingw toolchain?
- Date: Fri, 20 Oct 2017 20:34:03 +0200
- From: Hans-Bernhard Bröker <HBBroeker@xxxxxxxxxxx>
- Subject: Re: How to use CMake with cygwin/mingw toolchain?
Am 20.10.2017 um 14:50 schrieb Peter Quiring:
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
You can just tell cmake to use them:
cmake <source_dir...> -D CMAKE_C_COMPILER=x86_64-w64-mingw32-gcc
But for the full story, you should really read the "cross compiling"
chapter of cmake's documentation.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple