Changeset aade25df
- Timestamp:
- 03/10/2018 07:32:56 PM (7 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- ba7bf15c
- Parents:
- c92ba3b
- Location:
- introduction
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
introduction/important/building-notes.xml
rc92ba3b raade25df 406 406 <title>Stripping One More Time</title> 407 407 408 <para>In LFS, stripping of debugging symbols was discussed a couple of 409 times. When building BLFS packages, there are generally no special 410 instructions that discuss stripping again. It is probably not a good 411 idea to strip an executable or a library while it is in use, so exiting 412 any windowing environment is a good idea. Then you can do:</para> 413 414 <screen><userinput>find /{,usr/}{bin,lib,sbin} -type f -exec strip --strip-unneeded {} \;</userinput></screen> 415 416 <para>If you install programs in other directories such as /opt or /usr/local, 417 you may want to strip the files there too.</para> 418 419 <para>For more information on stripping, see <ulink 420 url="http://www.technovelty.org/linux/stripping-shared-libraries.html"/>.</para> 408 <para> 409 In LFS, stripping of debugging symbols was discussed a couple of 410 times. When building BLFS packages, there are generally no special 411 instructions that discuss stripping again. It is probably not a good 412 idea to strip an executable or a library while it is in use, so exiting 413 any windowing environment is a good idea. Then you can do: 414 </para> 415 416 <screen><userinput>find /{,usr/}{bin,lib,sbin} -type f -exec strip --strip-unneeded {} \;</userinput></screen> 417 418 <para> 419 If you install programs in other directories such as <filename 420 class="directory">/opt</filename> or <filename 421 class="directory">/usr/local</filename>, you may want to strip the files 422 there too. 423 </para> 424 425 <para> 426 For more information on stripping, see <ulink 427 url="http://www.technovelty.org/linux/stripping-shared-libraries.html"/>. 428 </para> 421 429 422 430 </sect2> … … 425 433 <title>Libtool files</title> 426 434 427 <para>One of the side effects of packages that use Autotools, including 428 libtool, is that they create many files with an .la extension. These 429 files are not needed in an LFS environment. If there are conflicts with 430 pkgconfig entries, they can actually prevent successful builds. You 431 may want to consider removing these files periodically:</para> 432 433 <screen><userinput>find /lib /usr/lib -not -path "*Image*" -a -name \*.la -delete</userinput></screen> 434 435 <para>The above command removes all .la files with the exception of those that have 436 "Image" as a part of the path. These .la files are used by the 437 ImageMagick programs. There may be other exceptions by packages not in BLFS.</para> 435 <para> 436 One of the side effects of packages that use Autotools, including 437 libtool, is that they create many files with an .la extension. These 438 files are not needed in an LFS environment. If there are conflicts with 439 pkgconfig entries, they can actually prevent successful builds. You 440 may want to consider removing these files periodically: 441 </para> 442 443 <screen><userinput>find /lib /usr/lib -not -path "*Image*" \ 444 -a -not -path "*openldap*" \ 445 -a -name \*.la -delete</userinput></screen> 446 447 <para> 448 The above command removes all .la files with the exception of those that 449 have <quote>Image</quote> or <quote>openldap</quote> as a part of the 450 path. These .la files are used by the ImageMagick and openldap programs, 451 respectively. There may be other exceptions by packages not in BLFS. 452 </para> 438 453 439 454 </sect2> -
introduction/welcome/changelog.xml
rc92ba3b raade25df 46 46 <itemizedlist> 47 47 <listitem> 48 <para>[pierre] - Change instructions for removing .la files, since 49 openldap requires them, too.</para> 50 </listitem> 51 <listitem> 48 52 <para>[thomas] - Update to libuv-1.19.2. Fixes 49 53 <ulink url="&blfs-ticket-root;10409">#10409</ulink>.</para>
Note:
See TracChangeset
for help on using the changeset viewer.