Changeset 6b052ef
- Timestamp:
- 10/30/2022 02:29:24 PM (18 months ago)
- Branches:
- 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/update-glibc
- Children:
- decf315
- Parents:
- f6820bb6
- git-author:
- Xi Ruoyao <xry111@…> (10/30/2022 02:27:43 PM)
- git-committer:
- Xi Ruoyao <xry111@…> (10/30/2022 02:29:24 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
part3intro/toolchaintechnotes.xml
rf6820bb6 r6b052ef 258 258 this is the only compiler available for building the C/C++ libraries 259 259 during stage 2. Of course, the compiler built by stage 2, cc-lfs, 260 would be able to build those libraries, but (1) the build system of 261 gcc does not know cc-lfs can run on pc, and (2) using cc-lfs on pc 262 would create a risk of linking to the pc libraries, since cc-lfs is a native 263 compiler. So we have to re-build libstdc++ later as a part of 264 gcc stage 2.</para> 260 would be able to build those libraries, but:</para> 261 262 <itemizedlist> 263 <listitem> 264 <para> 265 Generally cc-lfs cannot run on pc (the host distro). Despite the 266 triplets of pc and lfs are compatible to each other, an executable 267 for lfs will depend on glibc-&glibc-version; while the host distro 268 may utilizes a different libc implementation (for example, musl) or 269 a previous release of glibc (for example, glibc-2.13). 270 </para> 271 </listitem> 272 <listitem> 273 <para> 274 Even if cc-lfs happens to run on pc, using it on pc would create 275 a risk of linking to the pc libraries, since cc-lfs is a native 276 compiler. 277 </para> 278 </listitem> 279 </itemizedlist> 280 281 <para>So we have to re-build libstdc++ later as a part of gcc stage 2.</para> 265 282 266 283 <para>In &ch-final; (or <quote>stage 3</quote>), all the packages needed for
Note:
See TracChangeset
for help on using the changeset viewer.