Hi all!
I've been following development for a while, specifically for the uclibc build. I was wondering about the --with-sysroot option for gcc and binutils. HLFS has already deviated from LFS in that we use a merged gcc/binutils tree to configure and build those tools. What about using the --with-sysroot option as well? I first stumbled across this when I was looking for other instructions for constructing a toolchain from this site: http://frank.harvard.edu/~coldwell/toolchain/
If I'm understanding the use of this option correctly, you can specify the bottom of the root tree arbitrarily while installing your build tools somewhere else. The thing is, I'm not so sure, since there's not too much documentation on the switch from the gcc installation page (http://gcc.gnu.org/install/configure.html)
It looks pretty cool if it works. It would eliminate the need for some tricky patches (the specs patch comes to mind) and streamline the build a little bit. For instance, there wouldn't be a need to make that link to /tools in the / and you could just use the sysroot option to install the programs directly (after compiling a second set of tools using the first ones with --prefix=$SYSROOT --with-sysroot=$SYSROOT) I think that's how it works, no?
It seems too good to be true, which is why I'm asking for a second and third and fourth opinion to this. I'm going to look in to it more later. Thanks for reading :D
William Dolorito -- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
