tsxy2007 / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

Missing way to compile libbreakpad_client.a on Mac OS X #425

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build using either the client/mac/Breakpad.xcodeproj or ./configure && make

What is the expected output? What do you see instead?
There is no libbreakpad_client.a static library being built that can be used to 
link against for C++ clients.

What version of the product are you using? On what operating system?
Trunk revision 782 on Mac OS X 10.6.6.

Please provide any additional information below.
The Firefox team appears to have made their own makefiles that do this, see: 

http://mxr.mozilla.org/mozilla-central/source/toolkit/crashreporter/google-break
pad/src/common/Makefile.in

http://mxr.mozilla.org/mozilla-central/source/toolkit/crashreporter/google-break
pad/src/common/mac/Makefile.in

http://mxr.mozilla.org/mozilla-central/source/toolkit/crashreporter/google-break
pad/src/client/Makefile.in

http://mxr.mozilla.org/mozilla-central/source/toolkit/crashreporter/google-break
pad/src/client/mac/handler/Makefile.in

http://mxr.mozilla.org/mozilla-central/source/toolkit/crashreporter/google-break
pad/src/client/mac/crash_generation/Makefile.in

Original issue reported on code.google.com by villinte...@gmail.com on 24 Mar 2011 at 10:01

GoogleCodeExporter commented 9 years ago
So I guess this is being ignored? I really need the ability to statically link 
the library into a C++ application.

Original comment by Luke.Whi...@gmail.com on 12 Jun 2013 at 8:58

GoogleCodeExporter commented 9 years ago
./configure as is doesn't build any mac files. I can't comment on the xcodeproj 
file or Mozilla's modifications.

Probably the easiest way to do this is to look at chromium's breakpad.gyp file 
and trim it down to just what you need. Then use gyp to generate a makefile / 
xcode project / whatever other generator output gyp supports. There may be a 
.gyp file in the breakpad checkout that can do this, but I didn't look very 
hard.

Original comment by thestig@chromium.org on 12 Jun 2013 at 5:29

GoogleCodeExporter commented 9 years ago
That's probably a bit advanced for the likes of me. What I did manage to do is 
to set a Copy Files build phase that copies the Breakpad.framework into the 
bundle. Is this effectively the same as statically linking?

Original comment by Luke.Whi...@gmail.com on 12 Jun 2013 at 9:44