CLFS 7.5: Inetutils-1.4.2 Build error?

Ryan Oliver ryan.oliver at
Mon Nov 21 20:08:20 PST 2005

On Mon, 2005-11-21 at 21:16 -0500, Puvvada, Vijay B. wrote:
> I went back to recompile/install my cross tools and tools again. 
> After applying the patches, etc to gcc...I noticed the following.
> The patches went in smoothly and I applied the sed commands and got the
> following:
> lfs:~/junk/gcc-4.0.2$ diff gcc/ gcc/ 
> 378c378
> < CROSS_SYSTEM_HEADER_DIR = /tools/include
> ---
> lfs:~/junk/gcc-4.0.2$ diff configure configure.orig 
> 3474c3474
> <   FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/  -isystem
> $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
> ---
> >   FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/
> -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem
> $(build_tooldir)/sys-include'
> My question is:  There still seems to be one -B for $(build_toolsdir)/bin/.
> Was this intended?  

Yup, we only wanted to remove -B$(build_tooldir)/lib

-B$(build_tooldir)/bin is fine, it will point to the installed
cross-binutils binaries

-B is used to specify binary search paths for toolchain components, but
it also affects the library search paths used _without_ being altered by
the multilib spec (ie will not have ../lib64 or ../lib appended), hence
why -B$(build_tooldir)/lib is removed

Best Regards

More information about the cross-lfs mailing list