Now we are using --prefix=/usr in "Ch. 6 Cross Compiling Temporary Tools".  The
problem is that configure scripts (generated by autoconf) will try to load
${prefix}/share/config.site and ${prefix}/etc/config.site.  These things are
really "powerful" - they can even override some command line options.

"/usr/etc" should not exist on any FHS-compilant distro, but
"/usr/share/config.site" exists on many distros.

My suggestion is to add `export CONFIG_SITE=/dev/null` in /home/lfs/.bashrc.  It
would override the default config.site search rule.
-- 
Xi Ruoyao <xry...@mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University

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

Reply via email to