[LLVMdev] problem with lli (llvm 1.3)
zhou at cs.virginia.edu
Thu Oct 7 18:07:37 CDT 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.
> > 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 LLVMdev