Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sdk
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
steamrt
sniper
sdk
Commits
a96fad38
Commit
a96fad38
authored
1 month ago
by
Simon McVittie
Browse files
Options
Downloads
Patches
Plain Diff
README: Mention the mold linker
Signed-off-by:
Simon McVittie
<
smcv@collabora.com
>
parent
cf84827a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+11
-0
11 additions, 0 deletions
README.md
with
11 additions
and
0 deletions
README.md
+
11
−
0
View file @
a96fad38
...
...
@@ -166,6 +166,17 @@ Meson users can use a command like `meson --native-file=clang.txt ...`
to select a different compiler.
See
`/usr/share/meson/native`
in the container for all the options available.
### mold linker
By default,
the standard
`ld.bfd`
from GNU binutils 2.35.x is used for linking,
matching Debian 11.
An experimental backport of the
`mold`
linker from Debian 13 is available
for installation via
`apt-get install mold`
and can be used with
command-lines like
`g++-12 -fuse-ld=mold`
or
`g++ -B/usr/libexec/mold`
.
The
`-fuse-ld=mold`
command-line option only works with
`g++-12`
or later.
## 32-bit code
The sniper SDK can compile 32-bit code in two different ways:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment