Re: --with-sysroot OPTION

Chris Staub <[email protected]>
Newsgroups gmane.linux.lfs.general
Message-ID <[email protected]>
On 02/10/15 11:57, Nguyễn Hùng wrote:
> Hello everyone
> i am trying build LFS
> My workstation as following:
> - LFS Book 7.6
> - host: Ubuntu 12.04 LTS
> when I start to build Binutil package pass-1 in chapter 5. I seen
> commands to config:
> ../binutils-2.24/configure \
> --prefix=/tools                 \
> --with-sysroot=$LFS        \
> --with-lib-path=/tools/lib  \
> --target=$LFS_TGT         \
> --disable-nls                    \
> --disable-werror
> I searched in binutils-2.24/configure file. and results:
> - option 1 (--prefix ) i seen it.
> - option 2 (--with-sysroot). i didn't see it.
> so what "--with-sysroot" option is for?

Many packages, such as Binutils and GCC, have configure scripts in just 
about every directory - running "./configure" just runs the top-level 
script, while you might notice that when you do "make" there are more 
configure scripts being run. In this case, --with-sysroot is actually in 
ld/configure.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.