[LLVMdev] Resolving sizeof's; target triples; type optimizations

Harel Cain harel.cain at gmail.com
Fri Oct 28 01:54:52 PDT 2011

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?


On Thu, Oct 27, 2011 at 20:47, Anton Korobeynikov
<anton at korobeynikov.info>wrote:

> Hello
> > In doing this, I'm essentially overriding any "target triple" existing in
> > the IR, breaking up the process into a multi-stage operation (llvm-gcc,
> opt
> > and llc running independently) and picking whatever target I want, right?
> No. This won't work since, as indicated in the FAQ entry IR derived
> from C/C++ is not target neutral, so you cannot 'just' override the
> triple.
> You have to build/use llvm-gcc/clang as cross-compiler.
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University

Quidquid latine dictum sit, altum videtur.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111028/cab6dd7a/attachment.html>

More information about the llvm-dev mailing list