如何使用/安装GNU binutils(objdump) [英] How to use/install GNU binutils (objdump)

查看:1990
本文介绍了如何使用/安装GNU binutils(objdump)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在我的应用程序中使用objdump和readelf命令在Windows上运行。我知道我可以安装cygwin为了使用它们。我不想使用cygwin的原因是因为我想要做文章来部署。加上我不知道如何做一个静默安装cygwin。因此,我认为我需要的是 GNU Utilities For Win32 链接指出这些库是无服务器的。 可执行文件只依赖于Microsoft C运行时(msvcrt.dll),而不是Cygwin工具提供的仿真层

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<

我会感激如果有人可以指出我在如何使用objdump和readelf(cygwin中的binutils)在我的应用程序的正确方向。

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.

推荐答案

它们已经编译,可以从这里!

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

下载后,位于bin目录中:

Once downloaded they will be located in the bin directory:

,然后你将使用它通过传递相同的参数在linux上使用它的方式相同。

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

这篇关于如何使用/安装GNU binutils(objdump)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆