[LLVMdev] problem with lli (llvm 1.3)

Shukang Zhou zhou at cs.virginia.edu
Thu Oct 7 16:07:37 PDT 2004


Thanks Misha. I tried the experiment again. "gcc -mcpu=v9 ..." doesn't
have output. However, using "gcc -mcpu=v9 -m64 ..." has the same output as
what you pointed out. I am rebuilding LLVM now, and hope this solves the
problem. :) Thanks again.

Shukang

> > On Thu, 7 Oct 2004, Misha Brukman wrote:
> > > % touch /tmp/file.c
> > > % gcc -mcpu=v9 -dM -E /tmp/file.c | grep __sparcv9
>           ^^^^^^^^  you need to specify that here <====== correction
> > >
> > > If the output is similar to the below, you're fine:
> > > #define __sparcv9 1
>
> If the above command gives no output, then try again, specifying -m64.
>




More information about the llvm-dev mailing list