aboutsummaryrefslogtreecommitdiff
path: root/docs/GettingStartedVS.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-03 20:23:52 +0000
committerChris Lattner <sabre@nondot.org>2009-04-03 20:23:52 +0000
commit03dc1fe9ac5d36c2bf58cd69f18b28f4b58c4b00 (patch)
tree715c049e905bdb4d99f99967c14559d31832c7ea /docs/GettingStartedVS.html
parentf50c7981ae9b81f1212d72a06d1c05e20d0559af (diff)
"Add documentation about the fix for missing x86
target library in windows under the "Common problems" section." Patch by Stefanus Du Toit! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68399 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/GettingStartedVS.html')
-rw-r--r--docs/GettingStartedVS.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/GettingStartedVS.html b/docs/GettingStartedVS.html
index 37bdd30b08..c7f384dcab 100644
--- a/docs/GettingStartedVS.html
+++ b/docs/GettingStartedVS.html
@@ -371,6 +371,16 @@ int main() {
</li>
</ul>
+ <ul>
+ <li>In Visual C++, if you are linking with the x86 target statically, the
+ linker will remove the x86 target library from your generated executable
+ or shared library because there are no references to it. You can force the
+ linker to include these references by using
+ "/INCLUDE:_X86TargetMachineModule" when linking. In Visual Studio IDE, this
+ can be added in Project Properties->Linker->Input->Force Symbol References.
+ </li>
+ </ul>
+
<p>If you are having problems building or using LLVM, or if you have any other
general questions about LLVM, please consult the <a href="FAQ.html">Frequently
Asked Questions</a> page.</p>