[cfe-dev] [LLVMdev] llvm-installation

Devchandra L Meetei dlmeetei at gmail.com
Sun Feb 10 08:56:31 PST 2013


I did the following which might not the best I am not clang developer yet.

  ./configure --enable-optimized --disable-assertions
--enable-targets=x86_64


On Sun, Feb 10, 2013 at 9:54 PM, Manoj C <manoj.chinthala at gmail.com> wrote:

> thanks for sending reply,
>     can u please say how to intialize --enable-optimized and
> --disable-assertions.that is either with 0 or 1.
> thanks
> manoj
>
>
> On Sun, Feb 10, 2013 at 11:03 AM, Devchandra L Meetei <dlmeetei at gmail.com>wrote:
>
>> What I did for x86_64 bit system was
>> set hostas x86_64,
>> disable assert
>> and enable optimsed, (For All these config options was collected after
>> going through ./configure --help)
>> and then simply make
>> followed by make install
>>
>>
>> On Sun, Feb 10, 2013 at 9:16 PM, Joey Gouly <joel.gouly at gmail.com> wrote:
>>
>>> You should use make -j with a number lower than 4, it looks like you ran
>>> out of memory when linking.
>>>
>>>
>>> On 10 February 2013 15:41, Manoj C <manoj.chinthala at gmail.com> wrote:
>>>
>>>> hello sir,
>>>>     in llvm installation ./configure command worked properly but while
>>>> giving
>>>> make -j 4 command in ubuntu
>>>>
>>>> everything got build properly but at last it showed error as
>>>>
>>>> llvm[4]: Linking Debug+Asserts executable clang
>>>> collect2: ld terminated with signal 9 [Killed]
>>>> make[4]: *** [/home/manoj/Desktop/LLVM/
>>>> build/Debug+Asserts/bin/clang] Error 1
>>>> make[4]: Leaving directory
>>>> `/home/manoj/Desktop/LLVM/build/tools/clang/tools/driver'
>>>> make[3]: *** [all] Error 1
>>>> make[3]: Leaving directory
>>>> `/home/manoj/Desktop/LLVM/build/tools/clang/tools'
>>>> make[2]: *** [all] Error 1
>>>> make[2]: Leaving directory `/home/manoj/Desktop/LLVM/build/tools/clang'
>>>> make[1]: *** [clang/.makeall] Error 2
>>>> make[1]: Leaving directory `/home/manoj/Desktop/LLVM/build/tools'
>>>> make: *** [all] Error 1
>>>>   it stopped building later by showing prompt simply.please help me to
>>>> proceed.
>>>>
>>>> _______________________________________________
>>>> LLVM Developers mailing list
>>>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> LLVM Developers mailing list
>>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>>
>>>
>>
>>
>> --
>> Warm Regards
>> --Dev
>> OpenPegasus Developer
>> "It's Always better to try and fail instead of not doing/trying anything"
>>
>
>


-- 
Warm Regards
--Dev
OpenPegasus Developer
"It's Always better to try and fail instead of not doing/trying anything"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130210/c69d6c92/attachment.html>


More information about the cfe-dev mailing list