[LLVMdev] [LLVMDev] trouble building gcc-frontend from source
Duncan Sands
baldrick at free.fr
Mon Mar 16 05:12:13 PDT 2009
Hi,
> This is weird, because I tried it using the gcc-4.2 compiler too, and
> it gave the same result. I'll probably try with Intel now. BTW,
> changing the CC and CXX environment variables is the correct way to
> change the compiler used for building llvm-gcc frontend right? (The
> docs specified this method for changing the compiler while building
> the llvm suite).
you need to rebuild both llvm and llvm-gcc using gcc-4.2. Using
CC and CXX should work. Alternatively, you can make sure that
gcc-4.2 occurs first in your path.
Ciao,
Duncan.
More information about the llvm-dev
mailing list