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
I looked at the code, but not clear what the problem is.
Please let me know what I should do in this case.
I believe this has been fixed on mainline CVS, try it. ![:slight_smile: :slight_smile:](https://emoji.discourse-cdn.com/google/slight_smile.png?v=12)
-Chris
-----------------------------------------------------------------------------------------------
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
...
_______________________________________________
LLVM Developers mailing list
LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-Chris
Weird, I built it on 3.4.4 on testing for release ?
Aaron