From b24263ec49baed369b4852534f087c641437b438 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. llvm-svn: 141103 --- llvm/docs/tutorial/LangImpl6.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'llvm/docs/tutorial') diff --git a/llvm/docs/tutorial/LangImpl6.html b/llvm/docs/tutorial/LangImpl6.html index 39264cf830f..17ba301d4ab 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: +

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