Linux API Headers

Randy McMurchy randy at linuxfromscratch.org
Sun Oct 26 12:19:04 PDT 2008


Bruce Dubbs wrote these words on 10/26/08 14:12 CST:
> Why do we do:
> 
> make INSTALL_HDR_PATH=dest headers_install
> cp -rv dest/include/* /usr/include
> 
> instead of:
> 
> make INSTALL_HDR_PATH=/usr/include headers_install

I just asked that question a week ago! (and was answered)

Anyway, it's because the headers_install process first completely
removes everything in the target directory which would wipe out
the stuff that is in there in Chapter 5.

In Chapter 6 we could actually change it to go straight to
/usr/include as there should be no files in there at the time
of the headers install.

-- 
Randy

rmlinux: [bogomips 3992.15] [GNU ld version 2.17] [gcc (GCC) 4.1.2]
[GNU C Library stable release version 2.5] [Linux 2.6.21.5 i686]
14:16:00 up 4 days, 5:27, 5 users, load average: 2.00, 2.13, 2.80



More information about the lfs-dev mailing list