On Sat, Nov 29, 2014 at 12:59:48PM -0500, Shreyas Mysore Shankar
wrote:> Hello all,
>
> I am Shreyas Mysore Shankar, Master student from western michigan
university. This semester i am doing a project on llvm. I have selected dead
loop deletion as my project.
>
> I am finding difficulty while executing
> 1. clang -03 -emit-llvm hello.c -c -o hello.bc {error: unknown parameter
-03}
It's O3 as in Optimizer.
> 2. %lli hello.bc {- bash lli: command not found}
> 3. llvm-dis < hello.bc hello.bc | less {- bash llvm-dis: command not
found}
> 4. % llc hello.bc -0 hello.s {- bash llc: command not found}
The tools might not have been installed. You can always find them in the
"bin" subdirectory of your build area.
Joerg