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
cf84827a
Commit
cf84827a
authored
1 month ago
by
Simon McVittie
Browse files
Options
Downloads
Patches
Plain Diff
README: Mention availability of gcc-14-monolithic
Signed-off-by:
Simon McVittie
<
smcv@collabora.com
>
parent
d6c48e45
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
-1
11 additions, 1 deletion
README.md
with
11 additions
and
1 deletion
README.md
+
11
−
1
View file @
cf84827a
...
...
@@ -134,12 +134,19 @@ Several sets of compilers are available:
*
gcc-9 and g++-9
*
gcc-10 and g++-10 (default)
*
gcc-12 and g++-12 (experimental)
*
gcc-14 and g++-14 (experimental)
*
clang-11 and clang++-11
The experimental
`gcc-12`
and
`g++-12`
can be installed by using
`apt-get install gcc-12-monolithic`
but are not currently included in
the SDK itself.
Similarly,
the experimental
`gcc-14`
and
`g++-14`
can be installed by using
`apt-get install gcc-14-monolithic`
.
At the time of writing,
this requires adding the
[
beta apt source
](
#apt-packages
)
.
To avoid an unexpected upgrade of the Standard C++ library,
`gcc-12`
,
`g++-12`
and any newer versions always behave as though the
`-static-libgcc`
and
`static-libstdc++`
options had been used.
...
...
@@ -149,7 +156,7 @@ C-based external dependencies such as SDL and GLib are safe to use, but
passing a STL object such as
`std::string`
to C++-based libraries from
the Steam Runtime or the operating system (for example
`libgnutlsxx`
or
`libpcrecpp`
) will not necessarily work and is best avoided, especially
if you are using
`g++-
9
`
or newer.
if you are using
`g++-
12
`
or newer.
Most build systems have a way to use a non-default compiler by specifying
its name, for example Autotools
`./configure CC=clang CXX=clang++ ...`
and
...
...
@@ -169,6 +176,9 @@ The sniper SDK can compile 32-bit code in two different ways:
Both should result in binaries that link to the same libraries.
For gcc versions newer than the default, only the multilib style (
`-m32`
)
is available.
Meson users can use a command like
`meson --cross-file=gcc-m32.txt ...`
to select the
`-m32`
multilib toolchain.
See
`/usr/share/meson/cross`
in the container for all the options available.
...
...
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