On Tue, Dec 8, 2009 at 8:26 PM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:>> I'm trying to build LLVM 2.6 (from svn branch release_26) on cygwin
>> 1.7, and I have the following errors with both GCC 3.4.4 and GCC 4.3.4
>>
>> llvm[2]: Linking Release Loadable Module profile_rt.dll
> Cygwin does not support dynamic linking (as any windows target).
> For the moment - you can just build tools and not the runtime via
> "make tools-only".
Thanks! What about the following patch?
commit cca46eac77c6a397aa85c903ba516165b85f98a9
Author: Gregory Petrosyan <gregory.petrosyan at gmail.com>
Date: Tue Dec 8 21:11:55 2009 +0300
GettingStarted: mention problems with dynamic linking on Windows
Signed-off-by: Gregory Petrosyan <gregory.petrosyan at gmail.com>
diff --git a/docs/GettingStarted.html b/docs/GettingStarted.html
index 2e2200d..b1fce86 100644
--- a/docs/GettingStarted.html
+++ b/docs/GettingStarted.html
@@ -252,13 +252,15 @@ software you will need.</p>
</tr>
<tr>
<td>Cygwin/Win32</td>
- <td>x86<sup><a href="#pf_1">1</a>,<a
href="#pf_8">8</a></sup></td>
+ <td>x86<sup><a href="#pf_1">1</a>,<a
href="#pf_8">8</a>,
+ <a href="#pf_11">11</a></sup></td>
<td>GCC 3.4.X, binutils 2.15</td>
</tr>
<tr>
<td>MinGW/Win32</td>
<td>x86<sup><a href="#pf_1">1</a>,<a
href="#pf_6">6</a>,
- <a href="#pf_8">8</a>, <a
href="#pf_10">10</a></sup></td>
+ <a href="#pf_8">8</a>,<a
href="#pf_10">10</a>,
+ <a href="#pf_11">11</a></sup></td>
<td>GCC 3.4.X, binutils 2.15</td>
</tr>
</table>
@@ -331,6 +333,9 @@ up</a></li>
before any Windows-based versions such as Strawberry Perl and
ActivePerl, as these have Windows-specifics that will cause the
build to fail.</a></li>
+<li><a name="pf_11">At the moment, LLVM modules requiring
dynamic linking can
+ not be built on Windows. However, you can build LLVM tools using
+ <i>"make tools-only"</i>.</li>
</ol>
</div>