I am trying to create a Google Breakpad for Mac OS X as part of a porting application based on version 782 of a trunk.
The Breakpad wiki indicates that you need to create a client /mac/Breakpad.xcodeproj that creates Breakpad.framework, including a dynamically linked lib, if I understand correctly. There is also sample code on how to use this from an Objective-C application, but it all seems very different from what seems to be the usual way to do things on other platforms, including using plists and other things that are not part of my application. I would rather do something similar on all platforms.
For example, this one looks like Firefox uses Breakpad:
// include exception_handler.h from client/<platform>/handler, // using ... here for brevity
In my project, we do the same and just bind to exception_handler.lib on Windows. libbreakpad_client.a Linux, Breakpad seems to generate the corresponding libbreakpad_client.a , which can be linked in the same way, but not with Mac OS X. If I do
./configure make
libbreakpad.a is created from the firewall root directory, which does not contain an exception handler, and libbreakpad_client.a, which should not be built. I could have completely misunderstood something both in the usual way to use Breakpad and in the usual procedure for creating external libraries on Mac, so any help is appreciated.
How to create libbreakpad_client.a on mac os x?
c ++ macos google-breakpad
villintehaspam
source share