Displaying 5 results from an estimated 5 matches for "computerhenu".
2010 Apr 29
0
[LLVMdev] fail to build LLVM GCC front-end
On Thu, Apr 29, 2010 at 2:17 AM, Jiandong Wang <computerhenu at gmail.com> wrote:
> I followed the instructions in llvm_gcc's README.LLVM file, but not exactly
> the same.
>
> the following is what I have done with LLVM:
> ./configure --disable-optimized --enable-checking
> make
> make install
> (Successful)
>
> now the l...
2010 Apr 29
3
[LLVMdev] fail to build LLVM GCC front-end
I followed the instructions in llvm_gcc's README.LLVM file, but not exactly
the same.
the following is what I have done with LLVM:
./configure --disable-optimized --enable-checking
make
make install
(Successful)
now the llvm-gcc:
cd /home/username
mkdir obj
mkdir install
cd obj
../llvm-gcc/configure --prefix=`pwd`/../install --program-prefix=llvm-
--enable-llvm=/home/username/llvm-2.7/Debug
2010 Apr 28
1
[LLVMdev] LLVM Tutorial 1: Something got wrong?
it seems the code snippit below cann't be compiled throuth.
the compiler complains:
error: no matching function for call to ‘llvm::IntegerType::get(int)’
/usr/local/include/llvm/DerivedTypes.h:108:
note: candidates are: static const llvm::IntegerType*
llvm::IntegerType::get(llvm::LLVMContext&, unsigned int)
Module* makeLLVMModule() {
// Module Construction
Module* mod = new
2010 May 08
1
[LLVMdev] Cannot Compile through an LLVM Pass
hey guys. Now I am following the "Writing an LLVM Pass", but can't work it
out. See what I have done.
After completing the exact Makefile and source code under
lib/Transforms/Hello, I typed the command "make" instead of "gmake" , then
it generated silently "Hello.o" in Debug. But, next, when I tried to
generate "hello.bc" by the command
2010 Apr 29
2
[LLVMdev] fail to build LLVM GCC front-end
I try to build it on Ubuntu9.04, but in vain. There are errors:
...
...
make[3]: *** No rule to make target
`/home/username/llvm-2.7/Debug/include/llvm/Intrinsics.gen', needed by
`llvm-convert.o'. Stop.
make[3]: Leaving directory `/home/username/obj/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/username/obj'
make[1]: *** [stage1-bubble] Error 2