diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-04-04 15:02:41 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-04-04 15:02:41 +0000 |
commit | a75fdb288412db312ab63cb457c7e1148b61d9d1 (patch) | |
tree | e8174d5c0a0d1dd23a8f3cf793f77fa21ae737e9 /docs/UsersManual.html | |
parent | cccc02ac215ffc16fc4b3ebfee5ee87c40e30505 (diff) |
docs/UsersManual.html: Add cygming notes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128819 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/UsersManual.html')
-rw-r--r-- | docs/UsersManual.html | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/docs/UsersManual.html b/docs/UsersManual.html index 82c4fa2732..8703ee62a5 100644 --- a/docs/UsersManual.html +++ b/docs/UsersManual.html @@ -67,8 +67,8 @@ td { <ul> <li><a href="#target_os_darwin">Darwin (Mac OS/X)</a></li> <li>Linux, etc.</li> + <li><a href="#target_os_win32">Windows</a></li> </ul> - </li> </ul> </li> @@ -948,6 +948,8 @@ definition.</li> (Mac OS/X), Linux, FreeBSD, and Dragonfly BSD: it has been tested to correctly compile many large C, C++, Objective-C, and Objective-C++ codebases.</p> +<p>On x86_64-mingw32, passing i128(by value) is incompatible to Microsoft x64 calling conversion.</p> You might need to tweak WinX86_64ABIInfo::classify() in lib/CodeGen/TargetInfo.cpp.</p> + <!-- ======================== --> <h4 id="target_arch_arm">ARM</h4> <!-- ======================== --> @@ -985,6 +987,44 @@ Generating assembly requires a suitable LLVM backend. <p>No __thread support, 64-bit ObjC support requires SL tools.</p> +<!-- ======================================= --> +<h4 id="target_os_win32">Windows</h4> +<!-- ======================================= --> + +<p>Experimental supports are on Cygming.</p> + +<h5>Cygwin</h5> + +<p>Clang works on Cygwin-1.7.</p> + +<h5>MinGW32</h5> + +<p>Clang works on some mingw32 distributions. +Clang assumes directories as below;</p> + +<ul> +<li><tt>C:/mingw/include</tt></li> +<li><tt>C:/mingw/lib</tt></li> +<li><tt>C:/mingw/lib/gcc/mingw32/4.[3-5].0/include/c++</tt></li> +</ul> + +<p>On MSYS, a few tests might fail. It is due to <a href="http://llvm.org/bugs/show_bug.cgi?id=8520">Bug 8520</a> and is fixed in <a href="http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20110314/118106.html">LLVM's r127724</a>.</p> + +<h5>MinGW-w64</h5> + +<p>For x32(i686-w64-mingw32), it is not supported yet.</p> + +<p>For x64(x86_64-w64-mingw32), <a href="http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20110321/118499.html">an essential patch(LLVM's r128206)</a> would be needed. It is incompatible to <a href="http://tdm-gcc.tdragon.net/development">TDM-GCC</a> due to the definiton of symbol "<code>___chkstk</code>". Clang assumes as below;<p> + +<ul> +<li><tt>C:/mingw/x86_64-w64-mingw32/include</tt></li> +<li><tt>C:/mingw/x86_64-w64-mingw32/include/c++/4.5.[23]</tt></li> +<li>GCC driver "gcc.exe" to build x86_64-w64-mingw32 binary.</li> +</ul> + +<p><a href="http://llvm.org/bugs/show_bug.cgi?id=8833">Some tests might fail</a> +on x64.</p> + </div> </body> </html> |