How to use/install GNU binutils (objdump)

孤者浪人 提交于 2019-11-27 03:51:16

问题


I need to use the objdump and readelf commands in my application that runs on windows. I know I can install cygwin in order to use them. The reason why I don't want to use cygwin is because I want to make it essay to deploy. Plus I don't know how to make a silent install of cygwin. As a result I believe that what I need is GNU Utilities For Win32 as the link states those libraries are serverless. "executables do only depend on the Microsoft C-runtime (msvcrt.dll) and not an emulation layer like that provided by Cygwin tools"

Anyways once I go to that link I don't know how to install it. Specifically I will like to use >this tool<

I will appreciate if someone can point me on the right direction of how I will be able to use objdump and readelf (binutils in cygwin) on my application.


回答1:


they are already compiled and they can be downloaded from here!

Once downloaded they will be located in the bin directory:

and then you will use it the same way you use it on linux by passing the same args.



来源:https://stackoverflow.com/questions/11054534/how-to-use-install-gnu-binutils-objdump

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!