sold is the commercial version of the mold linker. Unlike the mold linker whose license is AGPL, the sold linker is available under an ordinary, per-user, per-month/year commercial license. sold is a superset of mold; in addition to all the mold's features, sold supports macOS/iOS.
Please see the End User Agreement License for the details about licensing terms. You can purchase a subscription or obtain an evaluation license at our website.
The build instruction for sold is the same as for mold except that you check
out https://github.com/bluewhalesystems/sold.git
instead of
https://github.com/rui314/mold.git
. For the details, please see
https://github.com/rui314/mold#how-to-build.
sold is installed under several different executable names as follows:
-
ld.sold
: GNU ld-compatible linker for Linux and other ELF-based systems. The instructions to use sold on Linux is the same as the mold linker. For the details, see the mold's README. -
ld64.sold
: Apple's ld-compatible mode for macOS/iOS. You can use the linker on macOS by adding--ld-path=path/to/ld64.sold
to the linker flags. -
ld.mold
andld64.mold
: They are just aliases forld.sold
andld64.sold
, respectively, so that you don't have to change the linker name in your build system frommold
tosold
after purchasing a commercial license.