You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which will produce the bitcode module `pkg-config.bc`.
113
+
114
+
115
+
Tutorials
116
+
=========
117
+
118
+
A gentler set of instructions on building apache in a vagrant Ubuntu 14.04 can be found
119
+
[here,](https://github.com/SRI-CSL/whole-program-llvm/blob/master/doc/tutorial.md) and for Ubuntu 16.04 [here.](https://github.com/SRI-CSL/whole-program-llvm/blob/master/doc/tutorial-ubuntu-16.04.md)
92
120
93
121
Building a bitcode module with dragonegg
94
122
========================================
@@ -102,9 +130,12 @@ Building a bitcode module with dragonegg
102
130
CC=wllvm ./configure
103
131
make
104
132
105
-
# Produces pkg-config.bc
133
+
Again, this should produce the executable `pkg-config`. To extract the bitcode:
134
+
106
135
extract-bc pkg-config
107
136
137
+
which will produce the bitcode module `pkg-config.bc`.
138
+
108
139
109
140
Building bitcode archive
110
141
========================
@@ -119,17 +150,30 @@ Building bitcode archive
119
150
# Produces src/LinearMath/libLinearMath.bca
120
151
extract-bc src/LinearMath/libLinearMath.a
121
152
153
+
Note that by default extracting bitcode from an archive produces
154
+
an archive of bitcode. You can also extract the bitcode directly into a module.
155
+
156
+
extract-bc -b src/LinearMath/libLinearMath.a
157
+
158
+
produces `src/LinearMath/libLinearMath.a.bc`.
159
+
160
+
122
161
123
162
Building an Operating System
124
163
============================
125
164
126
-
To see how to build freeBSD 10.0 from scratch check out this
127
-
[guide.](../master/README-freeBSD.md)
165
+
To see how to build freeBSD 10.0 from scratch check out this
0 commit comments