Hi, I am a beginner for LLVM, and now I am building LLVM-gcc 4.2.2.9 from dowloaded source. When generating gencondmd, the error occurs as follows: ../../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!
Hi,> I am a beginner for LLVM, and now I am building LLVM-gcc 4.2.2.9 from > dowloaded source. When generating gencondmd, the error occurs as > follows: > ../../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. Ciao, Duncan.
Seemingly Similar Threads
- [LLVMdev] where define the TARGET_80387 in md file ?
- [LLVMdev] llvm-gcc configure options for ARM target at llvm-gcc build time
- [LLVMdev] Consumer ARM platform suitable for LLVM development?
- [LLVMdev] Consumer ARM platform suitable for LLVM development?
- [LLVMdev] Consumer ARM platform suitable for LLVM development?