From c7d93bec47bacf1454959af652fc5f7f5923c19c Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Tue, 4 Oct 2011 19:36:30 +0000 Subject: Tell people using the tutorial how to make it actually work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141103 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/tutorial/LangImpl6.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/tutorial/LangImpl6.html b/docs/tutorial/LangImpl6.html index 39264cf830..17ba301d4a 100644 --- a/docs/tutorial/LangImpl6.html +++ b/docs/tutorial/LangImpl6.html @@ -815,6 +815,12 @@ if/then/else and for expressions.. To build this example, use: +

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.

+

Here is the code:

-- cgit v1.2.3