On Sun, Feb 24, 2013 at 01:31:23PM -0600, Bruce Dubbs wrote:
> Bruce Dubbs wrote:
> > Pierre Labastie wrote:
> >> Le 23/02/2013 22:52, Bruce Dubbs a écrit :
> >
> >
> > 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.
> >
[...]
> 
> 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.
> 
 Agreed so far.

> 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
> 
 You seem to be missing the info files for libitm, libgomp,
libquadmath.  With your diff those are in (4.7.2) libitm/, libgomp/,
libquadmath/ and also in similar directories under the build dir but
below '*-linux-*/ - e.g. x86_64-unknown-linux-gnu/libitm/ : I'm not
at the desktop, can't remember the full name for i386.

 As far as people building extra languages in BLFS are concerned,
the source has gcc/fortran/gfortran.info and
libjava/classpath/doc/cp-tools.info.  I suppose the preformatted
versions will be good enough for these, even though the 4.7 branch
has changes for texinfo-5.0.

 AFAICS the source does not have any info files for ada - perhaps
those are why the build tries to create the info files.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to