code/dwarfdump/configure and code/libdwarf/configure now support cross building. see code/README.
I'm sure I've got something wrong or misunderstood, but it does seem to work. Let me know what needs fixing. I copied the resulting arm dwarfdump to an arm linux machine and it worked, dumping its own DWARF sections. Which is a testament to the great work done by debian/ubuntu/GNU folks. text from README: For example, on Xubuntu 16.04 x86_64 the following works. cd code sudo apt-get install gcc-arm-linux-gnueabihf Now ensure libelf.h libelf.a or .so is in the gcc-arm-linux-gnueabihf tree in the correct places. If the build machine has zlib (aka libz) but the arm tree does not the --disable-libz should work to enable building. If the build and arm trees both have libelf and libz then remove the --disable-libz. Neither libz nor libelf are installed automatically in the arm tree. cd libdwarf ./configure --host=--host=arm-linux-gnueabihf --disable-libz make cd ../dwarfdump ./configure --host=--host=arm-linux-gnueabihf --disable-libz make David Anderson -- ...the Linux philosophy is "laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it. -- Linus Torvalds