[cfe-dev] [clang] How can I make Linking clang faster?

Liu proljc at gmail.com
Thu Sep 22 02:05:33 PDT 2011


On Thu, Sep 22, 2011 at 5:01 PM, Konstantin Tokarev <annulen at yandex.ru> wrote:
>
>
> 22.09.2011, 12:16, "Liu" <proljc at gmail.com>:
>> Hi all
>>
>> When I build llvm with clang, the linking is so slow and ld have a
>> high memory using, what can I do to solve this problem?
>> The linking age make my compute very slow for a long time, because
>> disk is reading/writing by ld.
>
> You can try "gold" linker (aka ld.gold) if you are not using it already.
>
> --
> Regards,
> Konstantin
>

Thank you, Konstantin.
I'll trying gold.

--Liu



More information about the cfe-dev mailing list