[llvm-commits] [PATCH 1/3] Autoconf: Disable JIT by default when cross build, target != host.

NAKAMURA Takumi geek4civic at gmail.com
Wed Jul 11 16:46:13 PDT 2012


2012/7/12 Jim Grosbach <grosbach at apple.com>:
> Why do we want to disable the JIT in a cross build?

I misled, sorry.

For example, assume host is x86_64-redhat-linux.

In case of --target=i686-pc-mingw32
(--host=--build=x86_64-redhat-linux), JIT is disabled.
ExecutionEngine does not handle non-native targets, although default
target specified is different from native target.
Consider that i686-pc-mingw32-lli(.elf) runs on linux host. It should
not make sense.

Other cases,
--host=i686-pc-mingw32 (--target=i686-pc-mingw32
--build=x86_64-redhat-linux), JIT is enabled.
--build=i686-redhat-linux (--target=--host=i686-redhat-linux), JIT is enabled.

...Takumi



More information about the llvm-commits mailing list