Skip to content

Commit 0a4460a

Browse files
committed
2 parents d6bdb69 + 26b52aa commit 0a4460a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/tutorial-ubuntu-16.04.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,10 @@ Turn the bitcode into a second executable binary. (optional -- just for fun and
8181

8282
```
8383
llc -filetype=obj httpd.bc
84-
gcc httpd.o -lpthread -lapr-1 -laprutil-1 -lpcre -o httpd.new
84+
clang httpd.o -Wl,--export-dynamic -lpthread -lapr-1 -laprutil-1 -lpcre -o httpd_from_bc
8585
```
86+
See [here](http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html) for an explanation of the
87+
```
88+
-Wl,--export-dynamic
89+
```
90+
incantation.

0 commit comments

Comments
 (0)