Skip to content

Commit 2eed6e9

Browse files
author
John Criswell
committed
Added note about multilib options.
llvm-svn: 9476
1 parent 44008a1 commit 2eed6e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

llvm/docs/CFEBuildInstrs.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@
108108
<li>No inline assembly for position independent code. At the LLVM level,
109109
everything is position independent.</li>
110110
<li>We handle <tt>.init</tt> and <tt>.fini</tt> differently.</li>
111+
<li>You may have to disable multilib support in your target. Using multilib
112+
support causes the GCC compiler driver to add a lot of "<tt>-L</tt>"
113+
options to the link line, which do not relate to LLVM and confuse
114+
<tt>gccld</tt>. To disable multilibs, delete any
115+
<tt>MULTILIB_OPTIONS</tt> lines from your target files.</li>
111116
<li>Did we mention that we don't support inline assembly? You'll probably
112117
have to add some fixinclude hacks to disable it in the system
113118
headers.</li>

0 commit comments

Comments
 (0)