Replacing ld with gold - any experience?

后端 未结 8 879
你的背包
你的背包 2020-11-28 04:32

Has anyone tried to use gold instead of ld?

gold promises to be much faster than ld, so it may help speeding up test cycles fo

8条回答
  •  孤街浪徒
    2020-11-28 05:26

    Can gcc/g++ directly call gold.?

    Just to complement the answers: there is a gcc's option -fuse-ld=gold (see gcc doc). Though, AFAIK, it is possible to configure gcc during the build in a way that the option will not have any effect.

提交回复
热议问题