mirror of
https://github.com/davea42/libdwarf-code.git
synced 2025-10-24 20:49:44 +08:00
5547cefffb77fd06fd9ab58e94e7cf5a014927e7
To just build libdwarf and dwarfdump one might do:
./configure
make dd
#You may need to be root to do the following copy commands
cp dwarfdump/dwarfdump /usr/local/bin
cp dwarfdump/dwarfdump.conf /usr/local/lib
#The following is optional, not needed to run dwarfdump
#when doing the default build.
cp libdwarf/libdwarf.a /usr/local/lib
For a simple build of libdwarf, and dwarfdump
and the other tools:
./configure
make
#Optionally: cp libdwarf/libdwarf.a <somewhere>
To build all the tools (including dwarfgen and
dwarfexample) use 'make all'. There are known
small compile-time issues with building dwarfgen on
MaxOSX and most don't need to build dwarfgen.
./configure
make all
To also build a shared libdwarf in the process, do:
./configure --enable-shared
make
cp libdwarf/libdwarf.so <somewhere>
When ready to create a new distro,
do
./CPTOPUBLIC
./BLDLIBDWARF yyyymmdd
where that could be
./BLDLIBDWARF 20140131
as an example.
David Anderson. Updated December 28, 2014 (removed dwarfdump2)
Description
Languages
C
86.1%
HTML
6.7%
C++
3.7%
Shell
0.8%
CMake
0.7%
Other
2%