Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
bugxml/ | H | 03-May-2022 | - | 627 | 475 | |
dwarfdump/ | H | 03-May-2022 | - | 37,899 | 29,966 | |
dwarfexample/ | H | 25-Nov-2016 | - | 7,505 | 6,175 | |
dwarfgen/ | H | 03-May-2022 | - | 11,360 | 8,982 | |
libdwarf/ | H | 03-May-2022 | - | 83,843 | 64,814 | |
tsearch/ | H | 03-May-2022 | - | 6,137 | 4,482 | |
BLDLIBDWARF | H A D | 03-Sep-2015 | 321 | 30 | 20 | |
BLDLIBDWARFTAR | H A D | 06-Jan-2015 | 1 KiB | 45 | 35 | |
BLDTESTDIR | H A D | 19-Jan-2016 | 4.1 KiB | 211 | 204 | |
CLEANUP | H A D | 25-Nov-2016 | 469 | 19 | 14 | |
CPTOPUBLIC | H A D | 06-Jan-2015 | 520 | 36 | 30 | |
CREATINGARELEASE | H A D | 03-Mar-2015 | 3.4 KiB | 94 | 74 | |
Makefile.in | H A D | 16-Jun-2016 | 3.1 KiB | 119 | 63 | |
NEWS | H A D | 21-Sep-2016 | 1.4 KiB | 34 | 30 | |
README | H A D | 01-Oct-2016 | 1.9 KiB | 68 | 57 | |
REBLDLIBDWARF | H A D | 15-Oct-2012 | 332 | 32 | 27 | |
SETUP_MASTER_TREE | H A D | 15-Oct-2012 | 3.1 KiB | 155 | 145 | |
SMBLDLIBDWARF | H A D | 19-Jan-2016 | 365 | 35 | 31 | |
UPD.awk | H A D | 24-Nov-2016 | 248 | 12 | 11 | |
UPDATEDWARFDUMPVERSION.sh | H A D | 16-Jun-2016 | 721 | 26 | 24 | |
config.h.in | H A D | 06-Aug-2013 | 1.7 KiB | 65 | 46 | |
configure | H A D | 30-Sep-2016 | 146 KiB | 5,157 | 4,274 | |
configure.in | H A D | 30-Sep-2016 | 1.4 KiB | 52 | 44 | |
install.sh | H A D | 06-Aug-2013 | 2.1 KiB | 120 | 71 |
README
1BUILDING IN SOURCE TREE 2To just build libdwarf and dwarfdump 3if the source tree is in /a/b/libdwarf-1 4one might do: 5 cd /a/b/libdwarf-1 6 ./configure 7 make dd 8 #You may need to be root to do the following copy commands 9 cp dwarfdump/dwarfdump /usr/local/bin 10 cp dwarfdump/dwarfdump.conf /usr/local/lib 11 #The following is optional, not needed to run dwarfdump 12 #when doing the default build. 13 cp libdwarf/libdwarf.a /usr/local/lib 14 15BUILDING OUT OF SOURCE TREE 16Or one could create a new directory, for example, 17 mkdir /var/tmp/dwarfex 18 cd /var/tmp/dwarfex 19 /a/b/libdwarf-1/configure 20 make dd 21In this case the source directory is not touched and 22all objects and files created are under /var/tmp/dwarfex 23 24NOTE: When building out of source tree the source tree 25must be cleaned of any files created by a build 26in the source tree. This is due to the way GNU Make 27VPATH works. 28 29For a simple build of libdwarf, and dwarfdump 30and the other tools: 31 ./configure 32 make 33 #Optionally: cp libdwarf/libdwarf.a <somewhere> 34 35To build all the tools (including dwarfgen and 36dwarfexample) use 'make all'. There are known 37small compile-time issues with building dwarfgen on 38MaxOSX and most don't need to build dwarfgen. 39 ./configure 40 make all 41 42By default configure compiles and uses libdwarf.a. 43 44With 45 ./configure --enabled-shared 46both libdwarf.a and libdwarf.so 47are built. The runtimes built will reference libdwarf.so. 48 49With 50 ./configure --enabled-shared --disable-nonshared 51libdwarf.so is built and used; libdwarf.a is not built. 52 53When ready to create a new source distribution do 54 ./CPTOPUBLIC 55 ./BLDLIBDWARF yyyymmdd 56where that could be 57 ./BLDLIBDWARF 20140131 58as an example. 59 60Sanity checking: 61Recent gcc has some checks that can be done at runtime. 62 -fsanitize=address 63 -fsanitize=leak 64 -fsanitize=undefined 65which are turned on here by --enable-sanitize at build time. 66 67David Anderson. Updated September 30,2016. 68