Tom Seddon <dwarf-discuss@...> writes: > > > You could try MSYS2 or cygwin for building autotools stuff on > Windows. I don't know how easy it would be to interact with libdwarf > from .NET directly - possibly not very. But at a pinch maybe you > could use dwarfdump, capture its output using the Process class, and > extract the data of interest from C#. > I've previously had success doing this sort of thing using MSYS2's > predecessor, MSYS. (I used it to build a set of GNU binutils that > supported PowerPC as well as x86.) But I believe MSYS2 and cygwin > work slightly differently from MSYS, and it's possible that could > make a difference. > Regards,--Tom Seddon > On 16/05/2016 08:43, Ane wrote: > > > Hello, > > I've seen a lot of webpages to have an idea of what the libdwarf library > can do, but I can't find the way to compile it in windows. The reason to > do this, is that I want to read and understand an .axf file in my C# > program that I'm developing in Visual Studio 10 in Windows (I can use VS15 > too). I don't need to debug anything, I only want read an .axf file, so if > there is a way to do this, please I want to know it, and how to do it. > > Thank you, > Ane. > > _______________________________________________ > Dwarf-Discuss mailing list > Dwarf-Discuss@lists.dwarfstd.org > http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org
I've read on webpages that some people could compile libdwarf with visual studio, but I couldn't find how they do it. I've tried almost everything, also I tried to compile the library on visual studio with mingw's make but it doesn't compile correctly. I think my last option is to read the .axf file through readelf (binutils) as an .exe and get the output to handle it on the C# program. I would like not to need more programs to do this, because the C# program can be developed on multiple computers. Otherwise, if someone knows how to get what in the following webpage is asked: http://stackoverflow.com/questions/24143326/extract-detailed-symbol- information-struct-members-from-elf-file-compiled-with Thanks for the help, Ane. _______________________________________________ Dwarf-Discuss mailing list Dwarf-Discuss@lists.dwarfstd.org http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org