[LLVMdev] obtaining IR for CellBE code

Eli Friedman eli.friedman at gmail.com
Thu May 7 09:42:21 PDT 2009


On Thu, May 7, 2009 at 9:25 AM, Kshitiz Garg <ksh.cseiitk at gmail.com> wrote:
>> Can you give a couple examples of error messages you're getting?
>  llvm-gcc -emit-llvm -S        -W -Wall -Winline -Wno-main  -I.  -I
> /opt/cell/sysroot/usr/spu/include -I
> /opt/cell/sysroot/opt/cell/sdk/usr/spu/include  -O3 -c simpleDMA_spu.c
> simpleDMA_spu.c:42:23: error: spu_mfcio.h: No such file or directory

Sorry for the extremely low-level question, but did you compile
llvm-gcc as a cross-compiler targeting Cell?  Assuming you did, I'm
not sure what the issue is; llvm-gcc should be providing that header.

-Eli




More information about the llvm-dev mailing list