aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/tutorial
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2011-10-04 19:36:30 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2011-10-04 19:36:30 +0000
commitb24263ec49baed369b4852534f087c641437b438 (patch)
treeb219b900c2bf6201528afc709f26de2562145bf8 /llvm/docs/tutorial
parent979697b6307393340d7d27615ddc4f0f3f9e2ce1 (diff)
downloadllvm-b24263ec49baed369b4852534f087c641437b438.zip
llvm-b24263ec49baed369b4852534f087c641437b438.tar.gz
llvm-b24263ec49baed369b4852534f087c641437b438.tar.bz2
Tell people using the tutorial how to make it actually work.
llvm-svn: 141103
Diffstat (limited to 'llvm/docs/tutorial')
-rw-r--r--llvm/docs/tutorial/LangImpl6.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/docs/tutorial/LangImpl6.html b/llvm/docs/tutorial/LangImpl6.html
index 39264cf..17ba301 100644
--- a/llvm/docs/tutorial/LangImpl6.html
+++ b/llvm/docs/tutorial/LangImpl6.html
@@ -815,6 +815,12 @@ if/then/else and for expressions.. To build this example, use:
</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">