mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Add solutions to an Arch Linux Clang and LLD error
Co-authored-by: dathide <47128084+Dathide@users.noreply.github.com>
This commit is contained in:
@@ -379,6 +379,16 @@ created in the ``bin/`` folder.
|
||||
It's still recommended to use GCC for production builds as they can be compiled using
|
||||
link-time optimization, making the resulting binaries smaller and faster.
|
||||
|
||||
If this error occurs::
|
||||
|
||||
/usr/bin/ld: cannot find -l:libatomic.a: No such file or directory
|
||||
|
||||
There are two solutions:
|
||||
|
||||
- In your SCons command, add the parameter ``use_static_cpp=no``.
|
||||
- Follow `these instructions <https://github.com/ivmai/libatomic_ops#installation-and-usage>`__ to configure, build, and
|
||||
install ``libatomic_ops``. Then, copy ``/usr/lib/libatomic_ops.a`` to ``/usr/lib/libatomic.a``.
|
||||
|
||||
Using mold for faster development
|
||||
---------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user