To list all available configure options type
To clean all build files type
To uninstall libexception type
By default, make install will install libexception to /usr/local/lib and the Exception header to /usr/local/include. To install the library and header to /home/foobar/libtest type:
this will result in /home/foobar/libtest/lib/libexception.* and /home/foobar/libtest/include/Exception
If youre done with coding and you are about to compile your program using the Exception class you have to link the exception library via
#include <iostream> #include <string> #include <Exception> class foo { public: void bar(void) throw(Exception) { std::cout << "In bar" << std::endl; throw Exception("Running into some serious exception"); }; }; int main() { foo *a = new foo(); try { a->bar(); } catch(Exception &obj) { obj.printStacktrace(); } return(1); }
1.5.8