Chris Staub wrote:
William Zhou wrote:
I think the following commands should be added to the book.
5.4:
cp -Rv include/asm-generic /tools/include/
10.5
cp -av include/asm-generic /usr/include/
BTW, the copy commands are not consistent. In 5.4 it uses cp -Rv, but
in 10.5 it uses cp -av.
William Zhou
Don't really know anything about whether asm-generic should be copied,
but the reason the cp commands have different options is because the
"-a" option preserves permissions and timestamps, which are not
important on the temp-system. On the other hand, this might actually be
irrelevant since there is a find command run immediately after the
headers installation that changes the permissions and ownership anyway...
Without copying the asm-generic, the glibc build will fail.
As with LLH, asm-generic is incorporated into each architecture directory
(asm-i386, asm-x86_64.,,etc).
That's the difference.
WIlliam Zhou
--
http://linuxfromscratch.org/mailman/listinfo/cross-lfs
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page