Objdump ELF and Windows

I am new to this thread, this is ELF and any Linux related stuff. I am trying to write an ELF file and prefer to do it on WinXP.

My question is: can this be done with MS Visual Studio, including compilation? As far as I understand, ELF files cannot be compiled on Windows. Well, at least what my Google research discovered. Do I need to configure Linux OS and compile it there?

Is it possible to use objdumo (part of GNU binutils) to parse any ELF file on WindowsXP?

Any help and links are greatly appreciated.

+4
source share
2 answers

Perhaps you can use the Visual Studio IDE with other tools invoked from custom build steps. However , I would not recommend doing this to compile binaries for other platforms that are not based on Microsoft.

You can install Cygwin (with gcc / g ++) to compile ELF binaries and configure Eclipse to use them. You can find some tips on how to do this in this thread .

+1
source

Check out the ELFIO library . It contains examples of WriteObj and Writer. Using the library, you can create ELF binaries on Windows and run them on other operating systems that can manage it.

0
source

All Articles