[LLVMdev] fail to build LLVM 2.0 on Cygwin/WinXP

Chuck Zhao czhao at eecg.toronto.edu
Tue Jun 19 21:17:25 PDT 2007


I am trying to build LLVM 2.0 (source downloaded from llvm.org) under 
WinXP/Cygwin, and got compilation errors.
I have tried to use:
GCC 3.4.4.
GCC 4.0.4
GCC 4.1.2
and
GCC 4.2.0, and the error remains.

I looked at the code, but not clear what the problem is.
Please let me know what I should do in this case.

Thank you

Chuck

-----------------------------------------------------------------------------------------------
Error msg after typing gmake -k
...
...
llvm[1]: Compiling Function.cpp for Release build
/home/czhao/LLVM/llvm-2.0/lib/VMCore/Function.cpp:273: error: 
'llvm::FunctionTyp
e* llvm::Intrinsic::getType(llvm::Intrinsic::ID, const llvm::Type**, 
uint32_t)'
should have been declared inside 'llvm::Intrinsic'
make[1]: *** [/home/czhao/LLVM/obj2.0/lib/VMCore/Release/Function.o] Error 1
make[1]: Leaving directory `/home/czhao/LLVM/obj2.0/lib/VMCore'
make: *** [all] Error 1
...





More information about the llvm-dev mailing list