Displaying 3 results from an estimated 3 matches for "msg02575".
2009 May 05
0
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
Hi,
> $ ../llvm-2.5/configure --prefix=/pkg/bin/llvm/
> CC=/pkg/bin/gcc-4.2.4/bin/gcc CXX=/pkg/bin/gcc-4.2.4/bin/g++
> CXXCPP=/pkg/bin/gcc-4.2.4/bin/cpp LDFLAGS=-L/pkg/bin/gcc-4.2.4/lib64/
> CXXFLAGS=-I/pkg/bin/gcc-4.2.4/include/c++/4.2.4/
> CPPFLAGS=-I/pkg/bin/gcc-4.2.4/include/
how about:
export PATH=/pkg/bin/:$PATH
../llvm-2.5/configure --prefix=/pkg/bin/llvm/
instead?
Ciao,
2009 May 05
2
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
...llvm-gcc:
../llvm-gcc4.2-2.5.source/configure
--prefix=/pkg/build/llvm/llvm-gcc/install --program-prefix=llvm-
--enable-llvm=/pkg/build/llvm/llvm-obj/ --enable-languages=c,c++
make LLVM_VERSION_INFO=2.5
and I get this error (which, according to
http://www.mail-archive.com/llvmbugs at cs.uiuc.edu/msg02575.html might
mean I am using a bad version of gcc)...
/pkg/build/llvm/llvm-gcc/obj/./gcc/xgcc
-B/pkg/build/llvm/llvm-gcc/obj/./gcc/
-B/pkg/build/llvm/llvm-gcc/install/x86_64-unknown-linux-gnu/bin/
-B/pkg/build/llvm/llvm-gcc/install/x86_64-unknown-linux-gnu/lib/
-isystem /pkg/build/llvm/llvm-gcc/inst...
2009 May 04
3
[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
I am still having problems getting everything installed. I realized that the
successful build of llvm-2.5 had in fact been configured to use the system
gcc (4.1.2). However, I was unable to sucessfully build llvm-gcc with gcc
4.1.2.
I went back and attempted to build llvm-2.5 with gcc-4.2.4 (installed in a
separate directory from system gcc). However, I got the same build error as
before.
Then I