<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 29, 2010, at 11:30 PM, Xinliang David Li wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">On Fri, Oct 29, 2010 at 11:14 PM, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com">clattner@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; ">
<div style="word-wrap:break-word"><div><div></div><div class="h5">I strongly recommend not using llvmc unless you know exactly what you're doing and what the features and limitations of llvmc are. Please use the clang driver.</div></div>
</div></blockquote><div><br></div><div>Is llvmc just a wrapper on top of llvm-gcc and clang? In search of a way to pass down internal llvm options ( I did not know about -m yet), I found that llvmc has -Wo, option (which does not work), that is why I tried it. So many different driver programs makes it little confusing to newbies.</div>
</div></blockquote><br></div><div>llvmc is an experimental wrapper, not part of the normal toolchain. I'm not sure why, but it was used by the PIC16 toolchain (when it was in mainline), it allows defining compiler drivers that don't follow the GCC command line syntax.</div><div><br></div><div>I completely agree that llvmc is confusing. I would certainly agree with its removal from mainline, but it is actively maintained and presumably there is a reason for that :-)</div><br><div>Lets look at this another way: maybe this is a documentation issue. Did llvmc's existence make you want to use it, or was there some documentation that pushed you in that direction? If it's a doc issue, it is easy to fix.</div><div><br></div><div>Thanks!</div><div><br></div><div>-Chris</div></body></html>