5.7. Glibc-2.10.1

Chris Staub chris at beaker67.com
Thu Mar 11 10:14:58 PST 2010


On 03/11/2010 11:13 AM, Tobias Gasser wrote:
>
> try the following:
>
> CC="$LFS_TGT-gcc -B/tools/lib/" \
> AR=$LFS_TGT-ar \
> RANLIB=$LFS_TGT-ranlib \
> ../glibc-2.11.1/configure --prefix=/tools \
>     --host=$LFS_TGT --build=$(../glibc-2.11.1/scripts/config.guess) \
>     --disable-profile --enable-add-ons \
>     --enable-kernel=2.6.18 --with-headers=/tools/include \
>     libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes
>
>
>
> that's what i had to do on xubuntu 9.10.
>
> the difference to the book are the three leading lines to point to the
> newly build tools (cc, ar, ranlinb)
>
>
> tobias

No...this is NOT necessary. If you "need" to add anything to the Glibc 
build instructions, you have missed something. There is absolutely no 
reason why the recently-built toolchain in /tools won't be used, if you 
followed the instructions. If any variables "need" to be added, either 
your PATH (or something in your user environment) is incorrect, or 
something is wrong with the GCC or Binutils builds.



More information about the lfs-support mailing list