[lfs-dev] use of sysroot with gcc?

2011-12-29 Thread Alex
Hi, I was wondering if why (or why not) LFS does't use sysroot for the temporary toolchain but other LFS-based projects (CLFS, etc) do. I tried using it myself and saw odd behavior when using sysroot with a native gcc. The library search path ended up being /SYSROOT/ABSOLUTE/lib/ instead of /S

Re: [lfs-dev] LFS7.0

2011-12-29 Thread Andrew Benton
On Thu, 29 Dec 2011 15:56:39 -0600 Bruce Dubbs wrote: > I think that idea is fine, but wonder about the use of awk. It may not > be available. The book requires awk. Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the ab

Re: [lfs-dev] LFS7.0

2011-12-29 Thread Bruce Dubbs
Ken Moffat wrote: > On Thu, Dec 29, 2011 at 03:56:39PM -0600, Bruce Dubbs wrote: >> I think that idea is fine, but wonder about the use of awk. It may not >> be available. Perhaps: >> >> ldd /bin/ls | grep '/libc.*so' >> >> I don't think stripping the cruft is really necessary. >> >> LFS 32-bit:

Re: [lfs-dev] LFS7.0

2011-12-29 Thread Ken Moffat
On Thu, Dec 29, 2011 at 03:56:39PM -0600, Bruce Dubbs wrote: > > I think that idea is fine, but wonder about the use of awk. It may not > be available. Perhaps: > > ldd /bin/ls | grep '/libc.*so' > > I don't think stripping the cruft is really necessary. > > LFS 32-bit: libc.so.6 => /lib/li

Re: [lfs-dev] LFS7.0

2011-12-29 Thread Pierre Labastie
Le 29/12/2011 22:56, Bruce Dubbs a écrit : > Bryan Kadzban wrote: >> Sorry, this won't thread properly -- but I deleted the original before I >> realized I wanted to reply, so now I have to copy from the archives, and >> the archives don't have the right message-ids. :-/ >> >> Matthew Burgess wrot

Re: [lfs-dev] LFS7.0

2011-12-29 Thread Pierre Labastie
Le 29/12/2011 22:53, Matt Burgess a écrit : > On Thu, 2011-12-29 at 13:39 -0800, Bryan Kadzban wrote: > >> ldd /bin/ls | awk '/libc\.so/ {print $3;}' > That's really neat. Works on a Fedora 64-bit host and an up to date > lfs-trunk build as well. I'll add it to the book in a few days in case > so

Re: [lfs-dev] LFS7.0

2011-12-29 Thread Bruce Dubbs
Bryan Kadzban wrote: > Sorry, this won't thread properly -- but I deleted the original before I > realized I wanted to reply, so now I have to copy from the archives, and > the archives don't have the right message-ids. :-/ > > Matthew Burgess wrote: >> On Wed, 2011-12-28 at 15:01 +0100, Pierre L

Re: [lfs-dev] LFS7.0

2011-12-29 Thread Matt Burgess
On Thu, 2011-12-29 at 13:39 -0800, Bryan Kadzban wrote: > ldd /bin/ls | awk '/libc\.so/ {print $3;}' That's really neat. Works on a Fedora 64-bit host and an up to date lfs-trunk build as well. I'll add it to the book in a few days in case someone manages to find a distro that this breaks on or

Re: [lfs-dev] LFS7.0

2011-12-29 Thread Bryan Kadzban
Sorry, this won't thread properly -- but I deleted the original before I realized I wanted to reply, so now I have to copy from the archives, and the archives don't have the right message-ids. :-/ Matthew Burgess wrote: > On Wed, 2011-12-28 at 15:01 +0100, Pierre Labastie wrote: > > > I meant `c