diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-03 20:23:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-03 20:23:52 +0000 |
commit | eaa52bc29bcde8c668ce791b9d7f14589e022fb7 (patch) | |
tree | 6306e2058afb339c70a5588d69a6dbb1b5be9573 | |
parent | 8bff8a1e876628b868c878493325005b0fa01fb2 (diff) | |
download | bcm5719-llvm-eaa52bc29bcde8c668ce791b9d7f14589e022fb7.tar.gz bcm5719-llvm-eaa52bc29bcde8c668ce791b9d7f14589e022fb7.zip |
"Add documentation about the fix for missing x86
target library in windows under the "Common problems" section."
Patch by Stefanus Du Toit!
llvm-svn: 68399
-rw-r--r-- | llvm/docs/GettingStartedVS.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/docs/GettingStartedVS.html b/llvm/docs/GettingStartedVS.html index 37bdd30b085..c7f384dcab9 100644 --- a/llvm/docs/GettingStartedVS.html +++ b/llvm/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> |