diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2024-01-02 16:10:24 +0100 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2024-01-02 16:10:24 +0100 |
commit | a8064b74fb950f7f7f06de0650f529ab3c2e20b3 (patch) | |
tree | 68ab8132acbf11ba3e2fee045503d7da6cd9d7fa | |
parent | 8f897d64d497eacee884db40a2f86339f6c06c73 (diff) | |
download | quickjs-a8064b74fb950f7f7f06de0650f529ab3c2e20b3.tar.gz quickjs-a8064b74fb950f7f7f06de0650f529ab3c2e20b3.zip |
added note about atomic operations
-rw-r--r-- | doc/quickjs.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/quickjs.texi b/doc/quickjs.texi index 996836b..055825a 100644 --- a/doc/quickjs.texi +++ b/doc/quickjs.texi @@ -69,6 +69,11 @@ options then run @code{make}. You can type @code{make install} as root if you wish to install the binaries and support files to @code{/usr/local} (this is not necessary to use QuickJS). +Note: On some OSes atomic operations are not available or need a +specific library. If you get related errors, you should either add +@code{-latomics} in the Makefile @code{LIBS} variable or disable +@code{CONFIG_ATOMICS} in @file{quickjs.c}. + @section Quick start @code{qjs} is the command line interpreter (Read-Eval-Print Loop). You can pass |