CLFS 7.5: Inetutils-1.4.2 Build error?
ryan.oliver at pha.com.au
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
> lfs:~/junk/gcc-4.0.2$ diff gcc/Makefile.in gcc/Makefile.in.orig
> < CROSS_SYSTEM_HEADER_DIR = /tools/include
> > CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_HEADER_DIR@
> lfs:~/junk/gcc-4.0.2$ diff configure configure.orig
> < 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
> 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
-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
More information about the cross-lfs