[LLVMdev] Need help getting LLVM JIT running on ARM

Lotfi, Puyan
Wed, 17 Feb 2010 22:18:19 -0000

Is this the configuration you would give for an iphone?

-Puyan

----- Original Message -----
From: "Jim Grosbach" <grosbach at apple.com>
To: "Puyan Lotfi" <puyan at gatech.edu>
Cc: llvmdev at cs.uiuc.edu
Sent: Wednesday, February 17, 2010 4:42:37 PM GMT -05:00 US/Canada Eastern
Subject: Re: [LLVMdev] Need help getting LLVM JIT running on ARM

Specifying --host, --build and --target should work. For example,

$ configure --host=arm-apple-darwin10 --build=i686-apple-darwin10
--target=arm-apple-darwin10 --enable-targets=arm

-Jim


On Feb 17, 2010, at 12:26 PM, Puyan Lotfi wrote:

> Does anyone know what I should be doing if I want to cross compile LLVM for
the ARM architecture?
> I want to use the LLVM JIT on ARM for a class project this semester.
> I have built and/or installed a few different gcc arm (arm-linux, and also
one that is arm-elf) toolchains, and have had trouble getting LLVM 2.6 to
configure and compile using the --host and --build switches of the config.
>
> If there are any good guides out there on cross compiling LLVM I would be
really be happy to read them.
>
> Thanks
>
> --
> Puyan
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev