[LLVMdev] Using non-system compiler to build llvm and llvm-gcc front end
Duncan Sands
baldrick at free.fr
Tue May 5 01:02:04 PDT 2009
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,
Duncan.
More information about the llvm-dev
mailing list