[LLVMdev] where define the TARGET_80387 in md file ?
baldrick at free.fr
Fri Jul 1 02:15:50 PDT 2011
> I am a beginner for LLVM, and now I am building LLVM-gcc 220.127.116.11 from
> dowloaded source. When generating gencondmd, the error occurs as
> ../../llvm-gcc-4.2-2.9.source/gcc/config/i386/i386.md:9844: error:
> 'TARGET_80387' undeclared here (not in a function)
> but I use grep, there doesn't the definition for 'TARGET_80387' in the
> whole source dir. And in orginal gcc source, I found its definition.
> Why I can't find that in LLVM source? thanks for any advice!
it is generated during the build in the options.h header. That said, the
usual reason for strange failures during the llvm-gcc build is that you
didn't specify --enable-llvm right when configuring llvm-gcc.
More information about the llvm-dev