﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
2957	Binutils pass 2	Michael	lfs-book@…	"In book we have the follow code for preparing Binutils for compilation[[BR]]

CC=""$LFS_TGT-gcc -B/tools/lib/"" \[[BR]]
AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \[[BR]]
../binutils-2.21.1/configure --prefix=/tools \[[BR]]
--disable-nls --with-lib-path=/tools/lib[[BR]]

but at kernel 2.6.22.5 we got error after ran configure script at config.log: [[BR]]

...bla-bla-bla...can't run test application ./a.out[[BR]]
use key --host for cross-compiling[[BR]]
Fatal error[[BR]]

if add key (--host=$LFS_TGT)will fix that problem[[BR]]

CC=""$LFS_TGT-gcc -B/tools/lib/"" \[[BR]]
AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \[[BR]]
../binutils-2.21.1/configure --prefix=/tools \[[BR]]
--disable-nls --with-lib-path=/tools/lib --host=$LFS_TGT

sorry, I can't attach file"	task	closed	normal	7.1	Book	7.0	normal	invalid	binutils chapter5	mikhail_tsukanau@…
