Changeset 8e637fc


Ignore:
Timestamp:
06/29/2022 05:22:51 AM (6 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
02e19e03, fae2f6f
Parents:
b0540bce
Message:

js: reword CC=gcc CXX=g++ description

Note than only "setting" CC=gcc CXX=g++ will not work:

CC=gcc
CXX=g++
sh ../js/src/configure.in ...

will not pass CC=gcc and CXX=g++ to sh. It's needed to export CC and
CXX:

CC=gcc
CXX=g++
export CC CXX
sh ../js/src/configure.in ...

Or, explicitly pass them:

CC=gcc CXX=g++ h ../js/src/configure.in ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/js91.xml

    rb0540bce r8e637fc  
    101101    <bridgehead renderas="sect4">Recommended</bridgehead>
    102102    <para role="recommended">
    103       <xref linkend="llvm"/>
     103      <xref linkend="llvm"/> (with <application>Clang</application>)
    104104    </para>
    105105
     
    284284      <application>clang</application> programs. With the release of
    285285      gcc-12 the build takes longer with gcc and g++, primarily because
    286       of extra warnings, and is bigger. Set these environment variables
    287       <emphasis>before running the configure script</emphasis>
    288       if you wish to continue to use gcc, g++ and unset them after the
    289       install.
     286      of extra warnings, and is bigger. Pass these environment variables
     287      to the configure script if you wish to continue to use gcc, g++
     288      (by exporting them and unset them after the installation, or simply
     289      prepending them before the
     290      <command>sh ../js/src/configure.in</command> command).
    290291    </para>
    291292
Note: See TracChangeset for help on using the changeset viewer.