Repository navigation
Allow choosing an alternative linker and manifest tool at runtime - #156
Merged
Merged
Conversation
dra27
reviewed
Mar 28, 2025
dra27
left a comment
Member
There was a problem hiding this comment.
Bike-shedding a name and a description, but this clearly passes the same strings as before if the arguments aren't used, so looks perfectly safe, thanks!
MisterDA
force-pushed
the
tool-selection
branch
3 times, most recently
from
March 30, 2025 17:24
1b42d8d to
09c0cf5
Compare
Allows using lld-link instead of link, for instance.
This allows using llvm-mt instead of mt.exe.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce two new options,
-use-linker=<cmd>and-use-mt=<cmd>.This allows using
lld-linkinstead oflink, for instance; and allows usingllvm-mtinstead ofmt.exe.The options accept any string blindly, but we could restrict to
bfd,gold,lld,mold,link, andlld-link(if so, users may have to provide symlinks if the linker is versioned, e.g. makelld-linkpoint tolld-link-20).