#1929: Use 'make install', when it can work, instead of 'cp', when installing
single files.
-----------------------------------------+----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: [email protected]
Type: enhancement | Status: new
Priority: lowest | Milestone: Future
Component: Book | Version: SVN
Severity: trivial | Keywords:
-----------------------------------------+----------------------------------
I noticed Binutils hides the ld-new program in 'ld/.libs/ld-new' if the
--enable-shared option is used, and 'ld/ld-new' is a script. This isn't a
concern with LFS because the --enable-shared option does not get used
until chapter 6, however I believe it is more educational to use:
{{{
make -C ld EXEEXT=-new install-exec-local
}}}
This command will install /tools/bin/ld-new and a hardlink to /tools/i686
-pc-linux-gnu/bin/ld-new, and nothing else (no man pages, etc). Not many
users know about the EXEEXT variable, or install-exec-local. I think using
this new command would help shed a glimpse into the control available with
the GNU make system, as well as being a more robust command.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1929>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page