On 06/19/2018 09:30 AM, Xi Ruoyao wrote:
On 2018-06-19 09:45 -0400, Jean-Marc Pigeon wrote:
A)
rename:
Libstdc++-8.1.0 -> GCC-8.1.0-pass2
GCC-8.1.0-pass2  -> GCC-8.1.0-pass3

There is no libstdc++ package as such (all
other entries use package name), in chapter 6
libstdc++ is generated by a standard GCC build.
I think this suggestion improve understanding about
libstdc++ and GCC intrinsinc link.

In the libstdc++ section we DON'T build GCC.  We only build
libstdc++. This should not be a "GCC pass".

Correct.

I think we can use "GCC-8.1.0 C++ Runtime Library" just like
"Linux-4.17.1 API Headers".

Is that really necessary?  The very first line after the title is:

"Libstdc++ is the standard C++ library."

6. Installing Basic System Software

A)
After MPC and before GCC rebuilding add
entries for:
TCL
expect
dejagnu.

GCC "make -k check" need those packages to do it
and use the one in /tools (generated in chapter 5)
but not yet available from chapter 6 (I think this
not consistent).

"Note that the Tcl package used here is a minimal version needed
to run the LFS tests. For the full package, see the BLFS Tcl procedures."

BLFS: <http://www.linuxfromscratch.org/blfs/view/systemd/general/tcl.html>

Full tcl installation needs to edit {tcl,tdbc,itcl}Config.sh with a lot of
"sed ...".  I don't think we should do that in LFS.

That is correct and the reason we don't build tcl in Chapter 6.

B)
After Xz building, add an entry like
the one "Adjusting the Toolchain" saying
"Removing /tools", to mark the fact the
bootstrap process is now fully completed and
build system is now fully self-sufficient.

No.  The temporary tools would be used in "Stripping Again".
In "Cleaning Up" it's mentioned:

"The reason for this is that the programs in /tools are no longer
needed. For this reason you can delete the /tools directory if so
desired."

Correct.

Maybe we can make this more explicit:

     Now the system is fully self-sufficient.  We can remove the
     temporary tools now:

     <screen><userinput>rm -rf /tools</userinput></screen>

Do we really need to tell the user how to do this? It is optional and the user should really have the knowledge now of how to do this. I've never has a student ask how to do it. They do ask the question "Do I need to do this?" but not how.

BTW, my answer to the above question is that the conservative approach is to leave it at this point but they will probably not need it. Occasionally a package will be missing (e.g. didn't do a make install on a non critical package) and they may need to go back into chroot using the command in 6.4. They are really better off removing /tools at a later time. After all it uses about 1.2 GB of space, but that's rarely an issue with hard disks today.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to