mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-18 00:58:08 +00:00
Tell people using the tutorial how to make it actually work.
llvm-svn: 141103
This commit is contained in:
parent
10cf9ec1db
commit
b71d0322f9
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user