Re: stray references

2007-08-27 Thread M.Canales.es
El Lunes, 27 de Agosto de 2007 14:17, [EMAIL PROTECTED] escribió:
 SVN-20070820

 When I compiled PCRE, and others, butterfly-build appears in the
 compiler output and harmful or not, that is unclean and unacceptable.

On a LFS or CLFS-based system, both current and old versions, there is a lot 
of references to /sources/gcc-build. That is due /usr/lib/libstdc++.la 
and /usr/lib/libsupc++.la contains:

# Libraries that this one depends upon.
dependency_libs=' -L/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src 
-L/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lm -lm -lm 
-L/sources/gcc-build/gcc -lgcc_s -lc -lgcc_s -lm -lgcc_s -lc -lgcc_s'

/usr/lib/libbfd.la contains also references to /sources/binutils-build

Rebuilding GCC and Binutils don't solve that, the sources build directory is 
always referenced on its .la files. 

Thus, I see three possible solutions:

  - To patch GCC and Binutils to not include references to the build tree and 
to remove all that diplicated  -lgcc_s -lm
 
 - To edit manually that .la files.

 - To not install GCC and Binutils .la files, like most distros do.

-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:   http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:   http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: stray references

2007-08-27 Thread M.Canales.es
El Lunes, 27 de Agosto de 2007 19:46, M.Canales.es escribió:

Actually, the solution for the book is do nothing, IMHO.

That references to the GCC and Binutils build trees has been on all *LFS-based 
systems from years ago without known issues. 

-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:   http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:   http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page