Bruce Dubbs wrote: > Pierre Labastie wrote: >> Le 23/02/2013 22:52, Bruce Dubbs a écrit : > >>> I'm inclined right now to leave things alone. The book will build now, >>> just without the .info file. I suspect that the next gcc release, >>> whether it will be 4.8 or 4.7.3, will address the issue. > >> I tested one of the latest gcc-4.8 snapshot and I can tell you the .texi >> files >> have not (yet) been updated. On the other hand, the .info file are in the >> release tarballs, so no need to makeinfo them, they are still installed. > > Good point. I didn't notice that they were there by default. If the > .info files are present, then there is no need to build them at all. > It's just that the Makefile does that by default. We only need to > suppress that. > > Unfortunately the current method seems to suppress the install too. > > I'm not sure why the build process wants to build the .info files at > all. The dates are Sep 20 08:14 and th e.text are all earlier than > that. make should know that building is not needed. > > Perhaps we only need to copy the info files from > > mkdir -p gcc/goc > cp ../gcc-4.7.2/gcc/doc/*.info gcc/doc > > I'll give that a try. It just takes a long time to run. :(
OK, that works with a modification. What needs to be done is: mkdir -v ../gcc-build cd ../gcc-build mkdir -p gcc/doc touch gcc/gcc-vers.texi cp ../gcc-4.7.2/gcc/doc/*.info gcc/doc The key is the touch because otherwise gcc/gcc-vers.texi is generated and that forces make to try to rebuild the .info files. The touch must occur before the cp command We could simplify slightly with: mkdir -vp ../gcc-build/gcc/doc touch ../gcc-build/gcc/gcc-vers.texi cp gcc/doc/*.info ../gcc-build/gcc/doc cd ../gcc-build What we have now in Chapter 5 is preferable because it avoids extra work and putting the info files in /tools. The above only is needed in Chapter 6 if we want to bother. I guess another option is to maintain the current suppression of the info file rebuild and manually install the .info files after make install. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page