From: Douglas Gregor
Date: Tue, 30 Aug 2011 00:40:12 +0000 (+0000)
Subject: Update mingw-w64 part of the user manual, from Ruben Van Boxem!
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dad879a783f7cf055dd532883cd5efe12bcfd926;p=clang
Update mingw-w64 part of the user manual, from Ruben Van Boxem!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138788 91177308-0d34-0410-b5e6-96231b3b80d8
---
diff --git a/docs/UsersManual.html b/docs/UsersManual.html
index 4bf550d777..9d7981919c 100644
--- a/docs/UsersManual.html
+++ b/docs/UsersManual.html
@@ -1070,18 +1070,28 @@ Clang assumes directories as below;
MinGW-w64
-For x32(i686-w64-mingw32), it is not supported yet.
-
-For x64(x86_64-w64-mingw32), an essential patch(LLVM's r128206) would be needed. It is incompatible to TDM-GCC due to the definition of symbol "___chkstk
". Clang assumes as below;
+
For 32-bit (i686-w64-mingw32), and 64-bit (x86_64-w64-mingw32), Clang assumes as below;
-- C:/mingw/x86_64-w64-mingw32/include
-- C:/mingw/x86_64-w64-mingw32/include/c++/4.5.[23]
-- GCC driver "gcc.exe" to build x86_64-w64-mingw32 binary.
+- GCC versions 4.5.0 to 4.5.3, 4.6.0 to 4.6.2, or 4.7.0 (for the C++ header search path)
+- some_directory/bin/gcc.exe
+- some_directory/bin/clang.exe
+- some_directory/bin/clang++.exe
+- some_directory/bin/../include/c++/GCC_version
+- some_directory/bin/../include/c++/GCC_version/x86_64-w64-mingw32
+- some_directory/bin/../include/c++/GCC_version/i686-w64-mingw32
+- some_directory/bin/../include/c++/GCC_version/backward
+- some_directory/bin/../x86_64-w64-mingw32/include
+- some_directory/bin/../i686-w64-mingw32/include
+- some_directory/bin/../include
-Some tests might fail
-on x64.
+This directory layout is standard for any toolchain you will find on the official MinGW-w64 website.
+
+
Clang expects the GCC executable "gcc.exe" compiled for i686-w64-mingw32 (or x86_64-w64-mingw32) to be present on PATH.
+
+Some tests might fail
+on x86_64-w64-mingw32.