[LLVMdev] Persisting Problem Compiling llvm-gcc 4.2

Chris Lattner sabre at nondot.org
Sat Feb 2 10:41:50 PST 2008


On Feb 2, 2008, at 2:54 AM, Eric Christopher wrote:

>
> On Feb 2, 2008, at 2:31 AM, Kinson Chan 陳傑信 wrote:
>
>> Dear All,
>>
>> Thank you for the prompt suggestion in compiling llvm-gcc. I have  
>> just
>> tried the following:
>>
>> llvm-gcc4.2-2.1-source$ make clean
>> llvm-gcc4.2-2.1-source$ ./configure --disable-multilib --disable-
>> shared --enable-languages=c,c++
>
> Don't use ./configure. Set up another build directory and then
> something like:
>
> .../source/configure ...
>
> Note that I make no claims this will fix your problem, but it'll be a
> good start :)

More generally, you really do need to follow the instructions in  
README.LLVM.

-Chris





More information about the llvm-dev mailing list