How to use/install GNU binutils (objdump)

Tono Nam picture Tono Nam · Jun 15, 2012 · Viewed 48k times · Source

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.

Answer

Tono Nam picture Tono Nam · Jun 15, 2012

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

Once downloaded they will be located in the bin directory:

enter image description here

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