Pierre Labastie wrote: > Hi, > > gcc 4.8.0 release has been out for a couple of days. I have built > current lfs with it, using the method 2) described in my message of > January 10. The nice thing is that now libstdc++ can be built > standalone, so that you do not need to keep the gcc build tree around. > > Let me recall how it works: > > - Build binutils-pass1 as in the book. > - Build gcc-pass1 with --enable-languages=c,c++ > and --disable-stdc++-v3. Thus we have a C++ compiler, and no library. > - Build glibc as per book instructions. It uses only the C compiler and > the static libgcc as usual > - Build libstdc++-v3: build in an out of source directory: > change to that dir, run ../gcc-<version>/libstdc++-v3 configure (see > options in attached patch > then make and make install, "et voila". > - Finish with binutils-pass2 and gcc-pass2 (adding CXX=$LFS_TGT-g++) > > Building glibc first does not work on a lot of distros, so I forgot > about it. > > The tests in chapter 6 are very clean (no errors in glibc except the > ignored ones), only one in gcc libmudflap. > > Building libstdc++ does not take much time (0.5 SBU), but of course the > gcc tests take longer (upstream keeps adding them) and the chapter 6 gcc > needs more than 2G on the disk. > > If somebody wants to try the patch with jhalfs, it needs a patch:
So far the changes are working for me. I'm though Chapter 5 and testing Chapter 6. I'd say go ahead and commit the jhalfs change. I am also doing a test with updates to kernel, file, diffutils, procps-ng, and systemd at the same time, so the current iteration may not be perfect. -- Bruce -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page