Changeset 0c0bf1f


Ignore:
Timestamp:
06/16/2023 03:57:50 PM (12 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
677cf19b
Parents:
fa47dacd
git-author:
Xi Ruoyao <xry111@…> (06/16/2023 03:52:12 PM)
git-committer:
Xi Ruoyao <xry111@…> (06/16/2023 03:57:50 PM)
Message:

gcc: Reword description for --enable-languages

jit needs --enable-host-shared which slows down GCC, so separate
--enable-host-shared --enable-languages=jit out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gcc.xml

    rfa47dacd r0c0bf1f  
    302302      <parameter>--enable-languages=c,c++,fortran,go,objc,obj-c++,m2</parameter>:
    303303      This command identifies which languages to build. You may modify
    304       this command to remove undesired languages. Other languages can be
    305       added, including Ada, D,
    306       and JIT (add <parameter>jit</parameter> to the list of enabled
    307       languages), a library which can be linked into interpreters that want to
    308       generate machine code <quote>on the fly</quote> at run-time. They have not
    309       been tested by the BLFS developers.
     304      this command to remove undesired languages.  GCC also supports Ada
     305      and D, but building GCC with Ada (or D) support needs an existing
     306      Ada (or D) compiler.  So they are not enabled here.
    310307    </para>
    311308
     
    342339      its content) will be incorrect. This command changes the ownership to the
    343340      <systemitem class="username">root</systemitem> user and group.
     341    </para>
     342
     343    <para>
     344      <option>--enable-host-shared --enable-languages=jit</option>:
     345      Build <systemitem class="library">libgccjit</systemitem>, a library
     346      for embedding GCC inside programs and libraries for generating machine
     347      code.  Despite <quote>JIT</quote> (just-in-time) in the name, the
     348      library can be used for AOT (ahead-of-time) compilation as well.
     349      <option>--enable-host-shared</option> is needed for building
     350      <systemitem class="library">libgccjit</systemitem>, but it
     351      significantly slows down GCC.  So
     352      <systemitem class="library">libgccjit</systemitem> should be built and
     353      installed separately, not as a part of the <quote>main</quote> GCC
     354      installation.  If you need this library, configure GCC with
     355      these two options and install the library by running
     356      <!-- from Arch, not tested -->
     357      <command>make -C gcc jit.install-common jit.install-info</command>
     358      as the &root; user.  This library is not used by any BLFS package,
     359      nor tested by the BLFS developers.
    344360    </para>
    345361
Note: See TracChangeset for help on using the changeset viewer.