[LLVMdev] Question about compiling LLVM through cross-compiler for ARM

Anton Korobeynikov anton at korobeynikov.info
Wed Nov 21 12:02:33 PST 2012


>> > It is done. Then, I should copy this version on my image and then boot
>> > the image with gem5. The
>> > problem is when I try to run llvm-commands in gem5, they don't work and
>> > said : "cannot execute binary file".
>> What does "file" says on the binary?
> when I use commands like : "#arm-linux-gnueabi-clang test.c -o test" or any
> other commands like lli, clang++, ... the error occurs.
Sorry,  I won't be able to help you if you won't show the output as I requested.

> Could you tell me how did you cross-compiled LLVM to mingw32? I mean the
> command which you used for. So, I can compare it with mine and maybe find
> something useful!
Just straight --host / --target configure

PS: There is "Reply All" button, please reply to the list as well

--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list