aboutsummaryrefslogtreecommitdiffstats
path: root/docs/GettingStarted.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-02-09 20:43:48 +0000
committerChris Lattner <sabre@nondot.org>2005-02-09 20:43:48 +0000
commit8ccb87fa62ba1fe4a56a98ce2c56007a6c5d06ee (patch)
tree03ba43c02af0f5616415e8c62581a860444b11cd /docs/GettingStarted.html
parent3ac960510970df4831ff511e69c9de5c6030fe3b (diff)
downloadexternal_llvm-8ccb87fa62ba1fe4a56a98ce2c56007a6c5d06ee.zip
external_llvm-8ccb87fa62ba1fe4a56a98ce2c56007a6c5d06ee.tar.gz
external_llvm-8ccb87fa62ba1fe4a56a98ce2c56007a6c5d06ee.tar.bz2
Add instructions for MINGW, contributed by Henrik Bach
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/GettingStarted.html')
-rw-r--r--docs/GettingStarted.html18
1 files changed, 17 insertions, 1 deletions
diff --git a/docs/GettingStarted.html b/docs/GettingStarted.html
index 40fdf4a..df1a7d6 100644
--- a/docs/GettingStarted.html
+++ b/docs/GettingStarted.html
@@ -237,6 +237,11 @@ software you will need.</p>
<td>GCC 3.4.X, binutils 2.15</td>
</tr>
<tr>
+ <td>MinGW/Win32</td>
+ <td>x86<sup>1</sup><sup>6</sup></td>
+ <td>GCC 3.4.X, binutils 2.15</td>
+</tr>
+<tr>
<td>Linux</td>
<td>amd64<sup>3</sup></td>
<td>GCC</td>
@@ -254,7 +259,7 @@ software you will need.</p>
<tr>
<td>Windows</td>
<td>x86<sup>1</sup></td>
- <td>Visual Studio .NET<sup>4,5</sup>, MinGW</td>
+ <td>Visual Studio .NET<sup>4,5</sup></td>
<tr>
<td>AIX<sup>3,4</sup></td>
<td>PowerPC</td>
@@ -274,6 +279,17 @@ Notes:<br>
<sup>3</sup> No native code generation<br>
<sup>4</sup> Build is not complete: one or more tools don't link<br>
<sup>5</sup> The GCC-based C/C++ frontend does not build<br>
+<sup>6</sup> The port is done using the MSYS shell.
+Download (from http://www.mingw.org/MinGWiki/) and install
+bison (excl. M4.exe) and flex in that order.
+Build binutils 2.15 from source if necessary.
+If you want to compile the Cfrontend then upgrade to texinfo 4.5+ from source.
+If you need to create a library for an MS dll do these three steps:
+1) pexports /C/WINNT/SYSTEM32/file.dll | sed "s/^_//" > /C/MinGW/lib/file.def
+2) Edit file and append @&lt;ordinal&gt; to the missing function name
+3) dlltool.exe -k -d /C/MinGW/lib/file.def -l /C/MinGW/lib/libfile.a.
+Add in .profile: export CPPFLAGS="-D__MINGW -DLLVM_ON_WIN32=1"
+<br>
</p>
<p>Note that you will need about 1-3 GB of space for a full LLVM build in Debug