You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lld can be easily added as it is already supported. We just need to add a CLI and actions option for it. It should be treated the same as clangtidy, etc.
mold
sold
gold
Description
Hi,
I was using setup-cpp with project_options (in my docker build) and custemize the linker option, see find_linker.
Would be nice to install mold or one of the other (better) Linker, rather then (gcc) ld or gold.
Tasks
lld
can be easily added as it is already supported. We just need to add a CLI and actions option for it. It should be treated the same asclangtidy
, etc.Description
Hi,
I was using
setup-cpp
with project_options (in my docker build) and custemize the linker option, seefind_linker
.Would be nice to install
mold
or one of the other (better) Linker, rather then (gcc)ld
orgold
.Improving C++ Compilation Times: Tools & Techniques - Vittorio Romeo - ACCU 2023
So install (?) ...
mold
(e.g. whencompiler
isgcc
)lld
whencompiler
isllvm
(default)sold
for Mac OSMore Context
I was getting this Error:
/usr/bin/ld.gold: separate-code: unknown -z option
.CMakeOptions.cmake
project_options( ... LINKER ${PROJECT_OPTIONS_LINKER})
After that I just installed
mold
and everything works:Upvote & Fund
@aminya is using Polar.sh so you can upvote and help fund this issue. The funding is received once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog!
The text was updated successfully, but these errors were encountered: