I followed LFS doc.
I'm not quite understand why it needs 2 pass of compilation.
My guess:
We need target system's glibc, if we compile by host's gcc, it will not be able to separate with host anymore. So we need to build new system's binutils and gcc first to build target system's glibc let glibc connect with target's binutils and gcc. But first pass of binutils and gcc is using host's glibc, so we need second pass of compilation of target's binutils and gcc.
Are those right?
Is anything I'm missing or misunderstanding?
Thank you~