【Tools系列】之GNU Binutils工具集使用介绍

DATE: 2019-2-27


1、GNU Binutils简介和下载

简介: Binutils是GNU Binary Utilities的简写,是一组专门用于处理二进制数据的工具集,主要包括as,ld,addr2line,ar,nm,objdump,size,objcopy,strip,gprof,readelf等。

官方网址: https://www.gnu.org/software/binutils/
获取方式:
(1)FTP:https://ftp.gnu.org/gnu/binutils/
(2)GIT:git clone git://sourceware.org/git/binutils-gdb.git

2、GNU Binutils使用说明

详细文档: https://sourceware.org/binutils/docs-2.32/binutils/index.html

 ar:	  	Create, modify, and extract from archives
 nm:	  	List symbols from object files
 objcopy:	  	Copy and translate object files
 objdump:	  	Display information from object files
 ranlib:	  	Generate index to archive contents
 size:	  	List section sizes and total size
 strings:	  	List printable strings from files
 strip:	  	Discard symbols
 c++filt:	  	Filter to demangle encoded C++ symbols
 cxxfilt:	  	MS-DOS name for c++filt
 addr2line:	  	Convert addresses to file and line
 windmc:	  	Generator for Windows message resources
 windres:	  	Manipulate Windows resources
 dlltool:	  	Create files needed to build and use DLLs
 readelf:	  	Display the contents of ELF format files
 elfedit:	  	Update ELF header and property of ELF files
 Common Options:	  	Command-line options for all utilities
 Selecting the Target System:	  	How these utilities determine the target
 Reporting Bugs:	  	Reporting Bugs
 GNU Free Documentation License:	  	GNU Free Documentation License
 Binutils Index:	  	Binutils Index
3、将Binutils移植到不同架构的方法

https://sourceware.org/binutils/binutils-porting-guide.txt

The binutils have been ported to most major Unix variants as well as Wintel systems, and their main reason for existence is to give the GNU system (and GNU/Linux) the facility to compile and link programs.

Windows平台上的GNU工具集:GnuWin32使用以及windows下gnu makefile编写

4、GNU Binutils实战

待补充


THE END!

posted @   SoaringLee_fighting  阅读(556)  评论(0编辑  收藏  举报
编辑推荐:
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架
点击右上角即可分享
微信分享提示