On 4/22/2016 4:51 AM, Mueller-Roemer, Johannes Sebastian wrote:
It is true that there is no official bundled installer with both, but
the official installer works just fine with mingw as long as you pass in
the correct target to clang(++)
For example
clang++ --target=x86_64-w64-mingw32 test.cpp
However, it assumes that mingw64 is installed under C:/mingw64 (the
default location, it’ll work with a junction point though).
As of clang 3.7 there is no need to have a hardcoded mingw directory.
You just need to have an appropriate mingw(-64)/gcc in your PATH. Also
all distributed versions of clang 3.4 through 3.7 for Windows default to
targeting mingw(-64)/gcc and not VC++. Only with 3.8 is the Windows
release defaulting to targeting VC++.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake