<div dir="ltr">I guess that involves some special flags when running 'configure' before building the front-end. Right? Is there any handy documentation on how to build/use llvm-gcc as a cross-compiler?<br><br><br>Harel<br>
<br><div class="gmail_quote">On Thu, Oct 27, 2011 at 20:47, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info">anton@korobeynikov.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello<br>
<div class="im"><br>
> In doing this, I'm essentially overriding any "target triple" existing in<br>
> the IR, breaking up the process into a multi-stage operation (llvm-gcc, opt<br>
> and llc running independently) and picking whatever target I want, right?<br>
</div>No. This won't work since, as indicated in the FAQ entry IR derived<br>
from C/C++ is not target neutral, so you cannot 'just' override the<br>
triple.<br>
You have to build/use llvm-gcc/clang as cross-compiler.<br>
<font color="#888888"><br>
--<br>
With best regards, Anton Korobeynikov<br>
Faculty of Mathematics and Mechanics, Saint Petersburg State University<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Quidquid latine dictum sit, altum videtur.<br>
</div>