diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-03-08 12:53:25 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-03-08 12:53:25 +0100 |
commit | 0697f410b05085cdaf767d5b6fd3fea056ec5bd3 (patch) | |
tree | 09c5a5c920b191edb0ceffe30ae0cc99de91b11d /README.md | |
parent | cc0eb4651e4b204fb7926ddd84bb830f432aabd3 (diff) |
Add support for mold, add optimization flags for linking step
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ The current recommended way of using sibs is to add dependencies as git submodul You can list all your system packages with `pkg-config --list-all` (if the packages provide pkg-config files). To search for a package in this list you can use grep, like so: `pkg-config --list-all | grep 'pkg-name'` (replace pkg-name with the name of the package you want to search for).\ To then show the version of the found package you can use `pkg-config --modversion pkg-name`. -sibs will prefer lld linker in release mode if it's available and then the gold linker. You can install lld to improve compile times. Note that gdb debugging is a bit buggy when using lld so use of lld is only recommended in release mode. +sibs will prefer mold linker in release mode if it's available and then the lld linker and then the gold linker. You can install mold/lld to improve compile times. Note that gdb debugging is a bit buggy when using mold/lld so use of mold/lld is only recommended in release mode. # Quirks Zig support has not been tested properly yet and currently always links to c library. You can run zig tests with `sibs test --file filepath` or `sibs test --all-files`. |