[LLVMdev] Resolving sizeof's; target triples; type optimizations
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:
> > 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,
> > 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
> 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...
More information about the llvm-dev