Changeset 7f17762 for introduction
- Timestamp:
- 08/21/2022 01:00:07 PM (2 years ago)
- Branches:
- 11.2, 11.3, 12.0, 12.1, 12.2, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/for-12.3, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/xf86-video-removal
- Children:
- 889d6c4
- Parents:
- 70957a40
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
introduction/important/building-notes.xml
r70957a40 r7f17762 500 500 501 501 <para> 502 In LFS, stripping of debugging symbols was discussed a couple of 503 times. When building BLFS packages, there are generally no special 504 instructions that discuss stripping again. Stripping can be done 505 while installing a package, or afterwards. 502 In LFS, stripping of debugging symbols and unneeded symbol table 503 entries was discussed a couple of times. When building BLFS packages, 504 there are generally no special instructions that discuss stripping 505 again. Stripping can be done while installing a package, or 506 afterwards. 506 507 </para> 507 508 … … 515 516 generalities can be listed here: 516 517 </para> 518 519 <note> 520 <para> 521 The following methods using the feature of a building system 522 (autotools, meson, or cmake) will not strip static libraries if any 523 is installed. Fortunately there are not too many static libraries 524 in BLFS, and a static library can always be stripped safely by 525 running <command>strip --strip-unneeded</command> on it manually. 526 </para> 527 </note> 517 528 518 529 <itemizedlist> … … 531 542 The packages using the meson build system can accept 532 543 <parameter>-Dstrip=true</parameter> when running 533 <command>meson</command>. 544 <command>meson</command>. If you've forgot to add this option 545 running the <command>meson</command>, you can also run 546 <command>meson install --strip</command> instead of 547 <command>ninja install</command>. 534 548 </para> 535 549 </listitem> … … 552 566 <parameter>-g<something></parameter> options 553 567 in C/C++ calls. How to do that is very specific for each 554 package, so it will not be developed here. See also below 568 package. And, it does not remove unneeded symbol table entries. 569 So it will not be explained in detail here. See also below 555 570 the paragraphs about optimization. 556 571 </para> … … 572 587 condition for the kernel to use the old (deleted) file. The script 573 588 below is just an example. Feel free to add stronger error detection, 574 other directories to scan, ... It should be run as the &root; user:589 other directories to scan, etcetera. It should be run as the &root; user: 575 590 </para> 576 591
Note:
See TracChangeset
for help on using the changeset viewer.