Ryan Oliver wrote:

> When you are doing an old style cross-toolchain build

Nobody sane uses old style cross-toolchain build procedures these days :-)

> (ie: not using a sysroot, all target libraries and includes installed
> under /prefix/target/lib /prefix/target/lib64 
> /prefix/target/{include,sys-include} )
> the above "-B/prefix/target/lib" generates an interesting error when
> multilib, the 32bit startfiles get linked into the 64bit libgcc.
> 
> You could possibly label its use a bug, especially as it does not
> need to be specified ( standard lib search path ) 
> 
> We actually patch that out in cross-lfs.

...which suggests that CLFS build procedures are questionable. I'd be
asking myself the question why nobody else needs to do this? The answer of
course is that modern GCC conveniently provides `--with-sysroot' for
folks to base their cross-toolchain build procedures on... but we're
getting off-topic again.

Regards
Greg
-- 
http://www.diy-linux.org/

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to