You are right, however, their methods and principles are the same!
Regardless, it's still a good reference.
On Tue, 2023-11-14 at 21:00 +0800, 欧阳春晖 via Gcc-help wrote:
I think you should ensure that the compiler of your cross-compilation
environment meets the minimum requirements for compiling a
cross-compiler. The consequences of forcibly bypassing version detection
may be more errors. For the specific cross-compilation process, you can
refer to the Linux From Scratch documentation. description of.
No. Stop. I personally added the following note into LFS several years
ago:
The LFS book is not (and does not contain) a general tutorial to build a
cross- (or native) toolchain. Don't use the commands in the book for a
cross-toolchain for some purpose other than building LFS, unless you
really understand what you are doing.
It's just off-topic and annoying to ask all these questions about
building these ancient software via gcc-help. And it's also off-topic
with LFS. Please try to ask via a "retro-computing" forum instead.