To just build libdwarf and dwarfdump, if the source tree is in /a/b/libdwarf-1
August 23 2018 and the following seems to work: rm -rf /tmp/bld mkdir /tmp/bld cd /tmp/bld cmake /a/b/libdwarf-1
To build using CMake one might do
cd /a/b/libdwarf-1
- configure:
cmake . -B_Release -DCMAKE_BUILD_TYPE=Release
- build:
cmake --build _Release --target dd
- (optionally install):
sudo cmake --build _Release --target install