forked from GunioRobot/macgdb
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME-OSX
49 lines (31 loc) · 1.01 KB
/
README-OSX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Forward-port of Apple's OS X-specific patches to gdb
====================================================
Originally by rgov:
https://github.com/rgov/macgdb
Forked and updated by argp:
https://github.com/argp/macgdb
Feel free to fork and submit pull requests.
Tested on:
* 10.8.4
* 10.8.3
* 10.7.5
Building
--------
export CFLAGS="-Wno-format"
./configure --enable-64-bit-bfd --disable-werror --prefix=$(pwd)/dist
make
make install
Code signing
------------
### Creating a signing identity
See Chapter 2, "Obtaining a Signing Identity" of the Code Signing Guide:
http://developer.apple.com/mac/library/documentation/Security/Conceptual/CodeSigningGuide/index.html
Add your certificate to the System keychain. Modify the trust settings
as follows to "Never Trust" for all uses except for code signing, which
should be "Always Trust."
### Signing gdb after building
codesign -s "Certificate Common Name" dist/bin/*
Cleaning
--------
make distclean
find . -iname config.cache -print -delete