[LLVMdev] Error while building llvm-gcc-4.2

Binal Patel binalpatel4 at gmail.com
Mon Feb 14 13:09:11 PST 2011


*System:*
Snow leopard 64bit

*Problem: *
Trying to build llvm-gcc, and I am getting an error shown below.

*Here are the steps that i did:*

$ mkdir llvm
$ cd llvm
llvm$ svn co http://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk llvm-src
llvm$ cd llvm-src/trunk/
trunk$ svn update
trunk$ ./configure --prefix=$PWD/../install
trunk$ make ENABLE_OPTIMIZED=1

*Error*: llvm-gcc cannot be built in the source directory.
Please follow the instructions in the README.LLVM file.
make: *** [all] Error 1

*Please help:*
What does this error mean? and how do i take care of it?
(And README.LLVM is not that great of a help)

Any help is greatly appreciated!! Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110214/e305bb27/attachment.html>


More information about the llvm-dev mailing list