Greg Schafer wrote:
Just be careful when using them early in the build before you've installed coreutils. You need to be wary of host issues. For example, `mkdir' on RH62 doesn't support -v (but `install -d' does :-)
I recall that early in chapter 6 there was a change to 'install -d' over 'mkdir' for the Create Directories section though I can't remember the reason behind that particular change. I don't suppose it would hurt to change out the rest of the 'mkdir's in the book to 'install -d's too.
A quick grep on trunk reveals that we use 'mkdir' rather often. Here's a few examples:
mkdir -p $LFS mkdir $LFS/sources mkdir $LFS/tools mkdir /tools/etc mkdir -p /tools/lib/locale mkdir /lib/firmware mkdir /etc/default Plus, any time we create a separate build directory, as in: mkdir ../binutils-build -- JH -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page