[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[fcce89bc] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[5028839f] | 7 | <!ENTITY spidermonkey-download-http "&mozilla-http;/firefox/releases/&spidermonkey-version;esr/source/firefox-&spidermonkey-version;esr.source.tar.xz">
|
---|
| 8 | <!ENTITY spidermonkey-download-ftp " ">
|
---|
[4e23a061] | 9 | <!-- size and md5sum are in packages.ent -->
|
---|
[3d516cf] | 10 | <!ENTITY spidermonkey-buildsize "3.6 GB (40 MB installed after removing 36 MB static lib; add 34 MB for the main tests and 37 MB for the jit tests)">
|
---|
[9e0abc24] | 11 | <!ENTITY spidermonkey-time "1.9 SBU (with parallelism=4; add 1.1 SBU for the main tests and 3.7 SBU for the jit tests)">
|
---|
[fcce89bc] | 12 | ]>
|
---|
| 13 |
|
---|
[5028839f] | 14 | <sect1 id="spidermonkey" xreflabel="SpiderMonkey from Firefox-&spidermonkey-version;">
|
---|
| 15 | <?dbhtml filename="spidermonkey.html"?>
|
---|
[fcce89bc] | 16 |
|
---|
| 17 |
|
---|
[06aeaa1f] | 18 | <title>SpiderMonkey from firefox-&spidermonkey-version;</title>
|
---|
[fcce89bc] | 19 |
|
---|
[5028839f] | 20 | <indexterm zone="spidermonkey">
|
---|
| 21 | <primary sortas="a-spidermonkey">SpiderMonkey</primary>
|
---|
[fcce89bc] | 22 | </indexterm>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="package">
|
---|
[5028839f] | 25 | <title>Introduction to SpiderMonkey</title>
|
---|
[fcce89bc] | 26 |
|
---|
| 27 | <para>
|
---|
[5028839f] | 28 | <application>SpiderMonkey</application> is Mozilla's JavaScript and
|
---|
[6c122387] | 29 | WebAssembly Engine, written in C++ and Rust.
|
---|
[5028839f] | 30 | In BLFS, the source code of SpiderMonkey is taken from Firefox.
|
---|
[fcce89bc] | 31 | </para>
|
---|
| 32 |
|
---|
[3ce2d0c] | 33 | <!-- To editors: make sure polkit works with mozjs when
|
---|
| 34 | tagging SpiderMonkey or upgrading it to a new major version. -->
|
---|
[7426e905] | 35 | &lfs122_checked;
|
---|
[6b063cc3] | 36 |
|
---|
[fcce89bc] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>
|
---|
[5028839f] | 41 | Download (HTTP): <ulink url="&spidermonkey-download-http;"/>
|
---|
[fcce89bc] | 42 | </para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
[5028839f] | 46 | Download (FTP): <ulink url="&spidermonkey-download-ftp;"/>
|
---|
[fcce89bc] | 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
[5028839f] | 51 | Download MD5 sum: &spidermonkey-md5sum;
|
---|
[fcce89bc] | 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
[5028839f] | 56 | Download size: &spidermonkey-size;
|
---|
[fcce89bc] | 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
[5028839f] | 61 | Estimated disk space required: &spidermonkey-buildsize;
|
---|
[fcce89bc] | 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
[5028839f] | 66 | Estimated build time: &spidermonkey-time;
|
---|
[fcce89bc] | 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
[b5b1af68] | 70 | <!--
|
---|
[fcce89bc] | 71 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 72 | <itemizedlist spacing="compact">
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>
|
---|
| 75 | Required patch:
|
---|
[b5b1af68] | 76 | <ulink url="&patch-root;/js-&JS91-version;-python_3_10-1.patch"/>
|
---|
[fcce89bc] | 77 | </para>
|
---|
| 78 | </listitem>
|
---|
| 79 | </itemizedlist>
|
---|
[b5b1af68] | 80 | -->
|
---|
[5028839f] | 81 | <bridgehead renderas="sect3">SpiderMonkey Dependencies</bridgehead>
|
---|
[fcce89bc] | 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 84 | <para role="required">
|
---|
| 85 | <xref linkend="icu"/>,
|
---|
[ea97ea12] | 86 | <xref linkend="rust"/>, and
|
---|
| 87 | <!--<xref linkend="six"/>, and-->
|
---|
[fcce89bc] | 88 | <xref linkend="which"/>
|
---|
| 89 | </para>
|
---|
| 90 |
|
---|
[e603046] | 91 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 92 | <para role="recommended">
|
---|
[716ab1ac] | 93 | <!-- If clang is installed, it will be used instead of gcc.
|
---|
[0fe09b09] | 94 | gcc does not work for 32-bit system w/o -msse2 -mfpmath=sse:
|
---|
[716ab1ac] | 95 | https://bugzilla.mozilla.org/show_bug.cgi?id=1729459 -->
|
---|
| 96 | <xref linkend="llvm"/> (with <application>Clang</application>,
|
---|
[14bd41d] | 97 | required for 32-bit systems without SSE2 capabilities)
|
---|
[e603046] | 98 | </para>
|
---|
| 99 |
|
---|
[ac465d6c] | 100 | <important>
|
---|
| 101 | <para>
|
---|
| 102 | If you are building this package on a 32-bit system, and Clang
|
---|
| 103 | is not installed or you're overriding the default compiler choice
|
---|
| 104 | with the environment variable <envar>CXX</envar>, please read the
|
---|
| 105 | Command Explanations section first.
|
---|
| 106 | </para>
|
---|
| 107 | </important>
|
---|
| 108 |
|
---|
[fcce89bc] | 109 | <!-- It seems nasm is only used for aarch64-win64. -->
|
---|
| 110 | <!--bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 111 | <para role="optional">
|
---|
| 112 | <xref linkend="nasm"/>
|
---|
| 113 | </para-->
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="installation">
|
---|
[5028839f] | 118 | <title>Installation of SpiderMonkey</title>
|
---|
[fcce89bc] | 119 |
|
---|
| 120 | <note>
|
---|
| 121 | <para>
|
---|
[5028839f] | 122 | Unlike most other packages in BLFS, the instructions below require
|
---|
| 123 | you to untar
|
---|
| 124 | <filename>firefox-&spidermonkey-version;esr.tar.xz</filename> and
|
---|
| 125 | change into the <filename>firefox-&spidermonkey-version;</filename>
|
---|
[12858a3] | 126 | directory.
|
---|
[fcce89bc] | 127 | </para>
|
---|
| 128 |
|
---|
| 129 | <para>
|
---|
| 130 | Extracting the tarball
|
---|
| 131 | will reset the permissions of the current directory to 0755 if you
|
---|
| 132 | have permission to do that. If you do this in a directory where
|
---|
| 133 | the sticky bit is set, such
|
---|
| 134 | as <filename class="directory">/tmp</filename> it will end with error
|
---|
| 135 | messages:
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
| 138 | <literallayout>tar: .: Cannot utime: Operation not permitted
|
---|
| 139 | tar: .: Cannot change mode to rwxr-xr-t: Operation not permitted
|
---|
| 140 | tar: Exiting with failure status due to previous errors
|
---|
| 141 | </literallayout>
|
---|
| 142 |
|
---|
| 143 | <para>
|
---|
| 144 | This does finish with non-zero status, but it does
|
---|
| 145 | <emphasis>NOT</emphasis> mean there is a real problem.
|
---|
| 146 | Do not untar as the <systemitem class="username">root</systemitem> user
|
---|
| 147 | in a directory where the sticky bit is set - that will unset it.
|
---|
| 148 | </para>
|
---|
| 149 |
|
---|
| 150 | </note>
|
---|
[ea97ea12] | 151 | <!--
|
---|
[e3b21095] | 152 | <para>
|
---|
| 153 | The building system ships several internal copies of the Python 3
|
---|
| 154 | module <filename>six.py</filename>. The shipped copies are too old
|
---|
| 155 | to work well with Python 3.12 or later. Replace them with the
|
---|
| 156 | symlinks to <xref linkend='six'/> already installed on the system:
|
---|
| 157 | </para>
|
---|
| 158 |
|
---|
| 159 | <screen><userinput>for i in $(find -name six.py); do
|
---|
[fa5f6e9] | 160 | ln -sfv /usr/lib/python&python3-majorver;/site-packages/six.py $i;
|
---|
[e3b21095] | 161 | done</userinput></screen>
|
---|
[ea97ea12] | 162 | -->
|
---|
[fcce89bc] | 163 | <para>
|
---|
[5028839f] | 164 | Install <application>SpiderMonkey</application> by running the following
|
---|
[fcce89bc] | 165 | commands:
|
---|
| 166 | </para>
|
---|
| 167 |
|
---|
[16218efb] | 168 | <note>
|
---|
| 169 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[fcce89bc] | 170 | href="../../xincludes/mozshm.xml"/>
|
---|
[16218efb] | 171 | <para>
|
---|
| 172 | Compiling the C++ code respects $MAKEFLAGS and defaults to 'j1',
|
---|
| 173 | the rust code will use all processors.
|
---|
| 174 | </para>
|
---|
| 175 | </note>
|
---|
[fcce89bc] | 176 |
|
---|
| 177 | <screen><userinput>mkdir obj &&
|
---|
| 178 | cd obj &&
|
---|
| 179 |
|
---|
[3ce2d0c] | 180 | ../js/src/configure --prefix=/usr \
|
---|
[c12fd0f] | 181 | --disable-debug-symbols \
|
---|
| 182 | --disable-jemalloc \
|
---|
| 183 | --enable-readline \
|
---|
[4e23a061] | 184 | --enable-rust-simd \
|
---|
[3ce2d0c] | 185 | --with-intl-api \
|
---|
| 186 | --with-system-icu \
|
---|
[c12fd0f] | 187 | --with-system-zlib &&
|
---|
[fcce89bc] | 188 | make</userinput></screen>
|
---|
| 189 |
|
---|
| 190 | <para>
|
---|
[5028839f] | 191 | To run the SpiderMonkey test suite, issue:
|
---|
[6a5717b] | 192 | <command>make -C js/src check-jstests
|
---|
| 193 | JSTESTS_EXTRA_ARGS="--timeout 300 --wpt=disabled"</command>.
|
---|
| 194 | It's recommended to redirect the output into a log.
|
---|
| 195 | <!-- recheck when ICU gets upgraded -->
|
---|
[27d7de87] | 196 | Because we are building with system ICU, 39 tests
|
---|
[8d219de] | 197 | (out of a total of more than 50,000) are known to fail.
|
---|
[7655d92f] | 198 | The test suite is executed with all CPU cores available: even in a
|
---|
| 199 | cgroup with less cores assigned, it still attempts to spawn as many
|
---|
| 200 | testing jobs as the number of <emphasis>all</emphasis> cores in the
|
---|
| 201 | system; fortunately the kernel still won't run these jobs on cores
|
---|
| 202 | not assigned to the cgroup so the CPU usage is still controlled.
|
---|
[0d4a7b68] | 203 | </para>
|
---|
| 204 | <para>
|
---|
[7655d92f] | 205 | To run the JIT test suite, issue: <command>make -C js/src
|
---|
| 206 | check-jit-test JITTEST_EXTRA_ARGS="--timeout 300"</command>.
|
---|
| 207 | Like the SpiderMonkey test suite, the number of test jobs is same as
|
---|
| 208 | the number of all CPU cores in the system even if a cgroup is used. To
|
---|
[aeeb3ee] | 209 | make things worse, there are six tests which will use 3 GB each
|
---|
[7655d92f] | 210 | of system memory, so the peak memory usage may be up to 18 GB if the
|
---|
| 211 | number of cores is six or more. Running the JIT test suite without
|
---|
| 212 | enough memory may invoke the kernel OOM killer and cause stability
|
---|
| 213 | issues. If you don't have enough system memory available, append
|
---|
| 214 | <option>-jN</option> after <option>--timeout 300</option> with N
|
---|
| 215 | replaced by the number of parallel test jobs you want to start. For
|
---|
| 216 | example, if you have 16 GB system memory available and 8 CPU cores,
|
---|
| 217 | issue <command>make -C js/src check-jit-test
|
---|
| 218 | JITTEST_EXTRA_ARGS="--timeout=300 -j5"</command> to run the test with
|
---|
| 219 | 5 parallel jobs so the memory usage won't exceed 15 GB.
|
---|
| 220 | <!-- TL;DR: DO NOT REMOVE MEMORY USAGE NOTE W/O MY CONFIRMATION!
|
---|
| 221 |
|
---|
| 222 | "six tests": bug1782468-ptrdiff-veclen.js, it's ran with 6
|
---|
| 223 | different configurations.
|
---|
| 224 |
|
---|
| 225 | "may": this is stochasitic (like all parallelization issue),
|
---|
| 226 | don't remove the note about memory usage simply because "I cannot
|
---|
| 227 | reproduce it".
|
---|
| 228 |
|
---|
| 229 | "peak": the time period using so much memory is very short, so
|
---|
| 230 | don't just watch the output of "top" or "free" with eyesight.
|
---|
[e5d767b] | 231 | Run the test in a cgroup and read the "memory.peak" pseudo file
|
---|
[7655d92f] | 232 | for a proper measurement.
|
---|
| 233 |
|
---|
| 234 | Q: Why not just document some test failures?
|
---|
| 235 | A: This *really* can cause stability issue because the kernel
|
---|
| 236 | may OOM kill another process if the test is not ran in a
|
---|
| 237 | cgroup with memory.max set. Even if running it in a cgroup,
|
---|
| 238 | the kernel may still OOM kill the "main" process controlling
|
---|
| 239 | the test process instead of a single test job, causing a
|
---|
| 240 | incomplete test.
|
---|
| 241 |
|
---|
| 242 | - xry111
|
---|
| 243 | -->
|
---|
[fcce89bc] | 244 | </para>
|
---|
| 245 |
|
---|
[55a63862] | 246 | <caution>
|
---|
| 247 | <para>
|
---|
| 248 | An issue in the installation process causes any running program which
|
---|
[5028839f] | 249 | links to SpiderMonkey shared library (for example, GNOME Shell) to
|
---|
| 250 | crash if SpiderMonkey is reinstalled, or upgraded or downgraded
|
---|
[bcfaad0] | 251 | without a change of the major version number
|
---|
[5028839f] | 252 | (&spidermonkey-major; in &spidermonkey-version;). To work around
|
---|
| 253 | this issue, remove the old version of the SpiderMonkey shared
|
---|
| 254 | library before installation:
|
---|
[55a63862] | 255 | </para>
|
---|
[4af651f7] | 256 |
|
---|
[5028839f] | 257 | <screen role="root"><userinput>rm -fv /usr/lib/libmozjs-&spidermonkey-major;.so</userinput></screen>
|
---|
[55a63862] | 258 | </caution>
|
---|
[4af651f7] | 259 |
|
---|
[fcce89bc] | 260 | <para>
|
---|
| 261 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 262 | </para>
|
---|
| 263 |
|
---|
| 264 | <screen role="root"><userinput>make install &&
|
---|
| 265 | rm -v /usr/lib/libjs_static.ajs &&
|
---|
[5028839f] | 266 | sed -i '/@NSPR_CFLAGS@/d' /usr/bin/js&spidermonkey-major;-config</userinput></screen>
|
---|
[fcce89bc] | 267 |
|
---|
| 268 | </sect2>
|
---|
| 269 |
|
---|
| 270 | <sect2 role="commands">
|
---|
| 271 | <title>Command Explanations</title>
|
---|
| 272 |
|
---|
[b5b1af68] | 273 | <para>
|
---|
[c12fd0f] | 274 | <parameter>--disable-debug-symbols</parameter>: Don't generate debug
|
---|
| 275 | symbols since they are very large and most users won't need it. Remove
|
---|
| 276 | it if you want to debug SpiderMonkey.
|
---|
[b5b1af68] | 277 | </para>
|
---|
| 278 |
|
---|
| 279 | <para>
|
---|
[c12fd0f] | 280 | <parameter>--disable-jemalloc</parameter>: This switch disables the
|
---|
| 281 | internal memory allocator used in SpiderMonkey. jemalloc is only
|
---|
| 282 | intended for the Firefox browser environment. For other applications
|
---|
| 283 | using SpiderMonkey, the application may crash as items allocated in
|
---|
| 284 | the jemalloc allocator are freed on the system (glibc) allocator.
|
---|
[fcce89bc] | 285 | </para>
|
---|
| 286 |
|
---|
| 287 | <para>
|
---|
| 288 | <parameter>--enable-readline</parameter>: This switch enables Readline
|
---|
[5028839f] | 289 | support in the SpiderMonkey command line interface.
|
---|
[fcce89bc] | 290 | </para>
|
---|
[4e23a061] | 291 |
|
---|
[fcce89bc] | 292 | <para>
|
---|
[4e23a061] | 293 | <parameter>--enable-rust-simd</parameter>: This switch enables SIMD
|
---|
[c12fd0f] | 294 | optimization in the shipped encoding_rs crate.
|
---|
[fcce89bc] | 295 | </para>
|
---|
[4e23a061] | 296 |
|
---|
[fcce89bc] | 297 | <para>
|
---|
[c12fd0f] | 298 | <parameter>--with-intl-api</parameter>: This enables the
|
---|
| 299 | internationalization functions required by
|
---|
| 300 | <application>Gjs</application>.
|
---|
| 301 | </para>
|
---|
| 302 |
|
---|
| 303 | <para>
|
---|
| 304 | <parameter>--with-system-*</parameter>: These parameters allow the build system
|
---|
| 305 | to use system versions of the above libraries. These are required for
|
---|
| 306 | stability.
|
---|
[fcce89bc] | 307 | </para>
|
---|
| 308 |
|
---|
| 309 | <para>
|
---|
| 310 | <command>rm -v /usr/lib/libjs_static.ajs</command>: Remove a large
|
---|
| 311 | static library which is not used by any BLFS package.
|
---|
| 312 | </para>
|
---|
| 313 |
|
---|
| 314 | <para>
|
---|
[5028839f] | 315 | <command>sed -i '/@NSPR_CFLAGS@/d'
|
---|
| 316 | /usr/bin/js&spidermonkey-major;-config</command>:
|
---|
| 317 | Prevent <command>js&spidermonkey-major;-config</command> from using
|
---|
| 318 | buggy CFLAGS.
|
---|
[fcce89bc] | 319 | </para>
|
---|
| 320 |
|
---|
[e603046] | 321 | <para>
|
---|
[f572dbb] | 322 | <option><envar>CC=gcc CXX=g++</envar></option>: BLFS used to
|
---|
[e603046] | 323 | prefer to use gcc and g++ instead of upstream's defaults of the
|
---|
| 324 | <application>clang</application> programs. With the release of
|
---|
| 325 | gcc-12 the build takes longer with gcc and g++, primarily because
|
---|
[8e637fc] | 326 | of extra warnings, and is bigger. Pass these environment variables
|
---|
| 327 | to the configure script if you wish to continue to use gcc, g++
|
---|
| 328 | (by exporting them and unset them after the installation, or simply
|
---|
| 329 | prepending them before the
|
---|
[30d8de9b] | 330 | <command>../js/src/configure</command> command). If you are
|
---|
[0fe09b09] | 331 | building on a 32-bit system, also see below.
|
---|
[e603046] | 332 | </para>
|
---|
| 333 |
|
---|
[0fe09b09] | 334 | <para>
|
---|
| 335 | <option><envar>CXXFLAGS="-msse2 -mfpmath=sse"</envar></option>:
|
---|
| 336 | Use SSE2 instead of 387 for double-precision floating-point
|
---|
[f31e7938] | 337 | operations. It's needed by GCC to satisfy the expectations of
|
---|
[67cd226] | 338 | upstream (Mozilla) developers with floating-point arithmetic.
|
---|
[0fe09b09] | 339 | Use it if you are building this package on a 32-bit system with
|
---|
| 340 | GCC (if Clang is not installed or GCC is explicitly specified).
|
---|
[5028839f] | 341 | Note that this will cause SpiderMonkey to crash on a processor without
|
---|
| 342 | SSE2 capability. If you are running the system on such an old
|
---|
| 343 | processor, Clang is strictly needed. This setting is not needed on
|
---|
| 344 | 64-bit systems because all 64-bit x86 processors support SSE2 and the
|
---|
| 345 | 64-bit compilers (both Clang and GCC) use SSE2 by default.
|
---|
[0fe09b09] | 346 | </para>
|
---|
[fcce89bc] | 347 | </sect2>
|
---|
| 348 |
|
---|
| 349 | <sect2 role="content">
|
---|
| 350 | <title>Contents</title>
|
---|
| 351 |
|
---|
| 352 | <segmentedlist>
|
---|
| 353 | <segtitle>Installed Programs</segtitle>
|
---|
| 354 | <segtitle>Installed Libraries</segtitle>
|
---|
| 355 | <segtitle>Installed Directories</segtitle>
|
---|
| 356 |
|
---|
| 357 | <seglistitem>
|
---|
| 358 | <seg>
|
---|
[5028839f] | 359 | js&spidermonkey-major; and js&spidermonkey-major;-config
|
---|
[fcce89bc] | 360 | </seg>
|
---|
| 361 | <seg>
|
---|
[5028839f] | 362 | libmozjs-&spidermonkey-major;.so
|
---|
[fcce89bc] | 363 | </seg>
|
---|
| 364 | <seg>
|
---|
[5028839f] | 365 | /usr/include/mozjs-&spidermonkey-major;
|
---|
[fcce89bc] | 366 | </seg>
|
---|
| 367 | </seglistitem>
|
---|
| 368 | </segmentedlist>
|
---|
| 369 |
|
---|
| 370 | <variablelist>
|
---|
| 371 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 372 | <?dbfo list-presentation="list"?>
|
---|
| 373 | <?dbhtml list-presentation="table"?>
|
---|
| 374 |
|
---|
[5028839f] | 375 | <varlistentry id="js&spidermonkey-major;">
|
---|
| 376 | <term><command>js&spidermonkey-major;</command></term>
|
---|
[fcce89bc] | 377 | <listitem>
|
---|
| 378 | <para>
|
---|
| 379 | provides a command line interface to the
|
---|
[4c24eb0a] | 380 | <application>JavaScript</application> engine
|
---|
[fcce89bc] | 381 | </para>
|
---|
[5028839f] | 382 | <indexterm zone="spidermonkey js&spidermonkey-major;">
|
---|
| 383 | <primary sortas="b-js&spidermonkey-major;">
|
---|
| 384 | js&spidermonkey-major;
|
---|
| 385 | </primary>
|
---|
[fcce89bc] | 386 | </indexterm>
|
---|
| 387 | </listitem>
|
---|
| 388 | </varlistentry>
|
---|
| 389 |
|
---|
[5028839f] | 390 | <varlistentry id="js&spidermonkey-major;-config">
|
---|
| 391 | <term><command>js&spidermonkey-major;-config</command></term>
|
---|
[fcce89bc] | 392 | <listitem>
|
---|
| 393 | <para>
|
---|
[5028839f] | 394 | is used to find the SpiderMonkey compiler and linker flags
|
---|
[fcce89bc] | 395 | </para>
|
---|
[5028839f] | 396 | <indexterm zone="spidermonkey js&spidermonkey-major;-config">
|
---|
[3d516cf] | 397 | <primary sortas="b-js&spidermonkey-major;-config">
|
---|
[5028839f] | 398 | js&spidermonkey-major;-config
|
---|
| 399 | </primary>
|
---|
[fcce89bc] | 400 | </indexterm>
|
---|
| 401 | </listitem>
|
---|
| 402 | </varlistentry>
|
---|
| 403 |
|
---|
[5028839f] | 404 | <varlistentry id="libmozjs-&spidermonkey-major;">
|
---|
| 405 | <term>
|
---|
| 406 | <filename class="libraryfile">
|
---|
| 407 | libmozjs-&spidermonkey-major;.so
|
---|
| 408 | </filename>
|
---|
| 409 | </term>
|
---|
[fcce89bc] | 410 | <listitem>
|
---|
| 411 | <para>
|
---|
[4c24eb0a] | 412 | contains the Mozilla JavaScript API functions
|
---|
[fcce89bc] | 413 | </para>
|
---|
[5028839f] | 414 | <indexterm zone="spidermonkey libmozjs-&spidermonkey-major;">
|
---|
| 415 | <primary sortas="c-libmozjs&spidermonkey-major;">
|
---|
| 416 | libmozjs-&spidermonkey-major;.so
|
---|
| 417 | </primary>
|
---|
[fcce89bc] | 418 | </indexterm>
|
---|
| 419 | </listitem>
|
---|
| 420 | </varlistentry>
|
---|
| 421 | </variablelist>
|
---|
| 422 | </sect2>
|
---|
[4c24eb0a] | 423 |
|
---|
[fcce89bc] | 424 | </sect1>
|
---|