00007. Cutting method

xiaoxiao2021-03-06  77

1. Use the command objcopy, use the man2, use the command strip, usage can be seen in MAN (Strip -s and Objcopy -g clipping amplitude is exactly the same) 3, using Tomlinux's clipping expert, can be downloaded from below

Http://www.tomlinux.com/tomsoftware/embeddeDedExpert/Embedded.tgz Instructions and Examples: Program is used as a static library, the character states, the link file, read-only file and less than 30K . Example 1: #EMBEDDED / USR / LIB minimizes the library of / lib directory Decorated 2: #Embedded -g / usr / lib only removes the debugging of lib directory LIBs Example 3: [Root @ Master /] # Embedded cut All files in the current directory example 4: #Embedded / cut the entire Linux system, make it minimize the example 5: #Embedded -s / bin / source / bin / target to cut the program Source and generate new files named Target

转载请注明原文地址:https://www.9cbs.com/read-92832.html

New Post(0)