[LLVMdev] setting up LLVM to *run on* amd64 but *generate code* for alpha

Zack Weinberg zackw at panix.com
Sat Mar 21 09:25:16 PDT 2009


On Sat, Mar 21, 2009 at 2:57 AM, Jean-Daniel Dupas
<devlists at shadowlab.org> wrote:
> I'm use to build library using the Apple gcc cross compiler (which
> works exactly like that, you have to pass arch for everything) and
> it's not a major issue:
>
> ./configure CC="gcc -arch pcc" CXX="g++ -arch pcc"

That works great with anything that uses autoconf-style ./configure,
but that is by no means everything.

zw



More information about the llvm-dev mailing list