compile dwarfdump in mac

CFLAGS=’-I /opt/local/include -L /opt/local/lib’ CXXFLAGS=’-I /opt/local/include -L /opt/local/lib’ ./configure –prefix=/peter-dwarfdump
make
make install

Because mac gcc doesn’t search for the /opt/local, so need to specific the path manually.

Leave a Reply

Your email address will not be published. Required fields are marked *