[llvm-commits] [llvm] r141103 - /llvm/trunk/docs/tutorial/LangImpl6.html

David Chisnall csdavec at swan.ac.uk
Tue Oct 4 12:36:31 PDT 2011


Author: theraven
Date: Tue Oct  4 14:36:30 2011
New Revision: 141103

URL: http://llvm.org/viewvc/llvm-project?rev=141103&view=rev
Log:
Tell people using the tutorial how to make it actually work.


Modified:
    llvm/trunk/docs/tutorial/LangImpl6.html

Modified: llvm/trunk/docs/tutorial/LangImpl6.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/tutorial/LangImpl6.html?rev=141103&r1=141102&r2=141103&view=diff
==============================================================================
--- llvm/trunk/docs/tutorial/LangImpl6.html (original)
+++ llvm/trunk/docs/tutorial/LangImpl6.html Tue Oct  4 14:36:30 2011
@@ -815,6 +815,12 @@
 </pre>
 </div>
 
+<p>On some platforms, you will need to specify -rdynamic or -Wl,--export-dynamic
+when linking.  This ensures that symbols defined in the main executable are
+exported to the dynamic linker and so are available for symbol resolution at
+run time.  This is not needed if you compile your support code into a shared
+library, although doing that will cause problems on Windows.</p>
+
 <p>Here is the code:</p>
 
 <div class="doc_code">





More information about the llvm-commits mailing list