Re: [PATCH 3/5] nmbug-status: Add an nmbug-status(5) man page
[notmuch-archives.git] / 8c / 79c8f9a07ed93d72c9af9a23855ca9f88f0199
1 Return-Path: <cworth@cworth.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 70E834196F0\r
6         for <notmuch@notmuchmail.org>; Thu,  1 Apr 2010 15:09:31 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.89\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
13         autolearn=ham\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id R9EHc8NsmC3g; Thu,  1 Apr 2010 15:09:30 -0700 (PDT)\r
17 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
18         by olra.theworths.org (Postfix) with ESMTP id A51E2431FC1;\r
19         Thu,  1 Apr 2010 15:09:30 -0700 (PDT)\r
20 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
21         id 41CEE568DF7; Thu,  1 Apr 2010 15:09:30 -0700 (PDT)\r
22 From: Carl Worth <cworth@cworth.org>\r
23 To: Michal Sojka <sojkam1@fel.cvut.cz>, martin f krafft <madduck@madduck.net>\r
24 In-Reply-To: <8739zf5oln.fsf@steelpick.2x.cz>\r
25 References: <1268347072-2050-1-git-send-email-bgamari.foss@gmail.com>\r
26         <1268401656-12827-1-git-send-email-ingmar@exherbo.org>\r
27         <8739zfip5j.fsf@yoom.home.cworth.org> <87aatn8m40.fsf@steelpick.2x.cz>\r
28         <20100401112422.GA13985@piper.oerlikon.madduck.net>\r
29         <87mxxnnzgi.fsf@yoom.home.cworth.org> <8739zf5oln.fsf@steelpick.2x.cz>\r
30 Date: Thu, 01 Apr 2010 15:09:30 -0700\r
31 Message-ID: <878w96j04l.fsf@yoom.home.cworth.org>\r
32 MIME-Version: 1.0\r
33 Content-Type: multipart/signed; boundary="=-=-=";\r
34         micalg=pgp-sha1; protocol="application/pgp-signature"\r
35 Cc: notmuch@notmuchmail.org\r
36 Subject: Re: [notmuch] Notmuch shared library\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Thu, 01 Apr 2010 22:09:31 -0000\r
50 \r
51 --=-=-=\r
52 Content-Transfer-Encoding: quoted-printable\r
53 \r
54 On Thu, 01 Apr 2010 14:44:36 +0200, Michal Sojka <sojkam1@fel.cvut.cz> wrot=\r
55 e:\r
56 > On Thu, 01 Apr 2010, Carl Worth wrote:\r
57 > > 1. Use rpath for the local notmuch, (and use chrpath to remove it at the\r
58 > >    time of "make install").\r
59 > >=20\r
60 > > 3. Create a static program locally, but install a shared version.\r
61 > >=20\r
62 > > 4. Create a static program by default, and make distributions pass a\r
63 > >    --shared option to get the shared version that they want.\r
64 >=20\r
65 > I'd like to be able to run gdb easily on non-installed notmuch, so I'm\r
66 > fine with 1, 3 and 4.\r
67 \r
68 I really like the idea of (1) but it might cause a dependency on\r
69 chrpath, which would be obnoxious. Otherwise, it would require linking\r
70 the final application twice.\r
71 \r
72 But if we're going to link twice, we might as well just do that (3).\r
73 \r
74 I now don't see any advantage of (4) over (3). It's easy to compile both\r
75 static and shared, so there's not much reason to be able to disable one\r
76 or the other.\r
77 \r
78 So I've now made the default "make" create a static "notmuch" binary and\r
79 a shared "notmuch-shared" binary. Then, "make install" installs\r
80 "notmuch-shared" but renames it to "notmuch".\r
81 \r
82 The other reason I really wanted something like this is to be able to\r
83 ensure that the test suite tests the locally-compiled library, (and not\r
84 some installed version that the dynamic linker finds).\r
85 \r
86 =2DCarl (happy to stay away from the pain of wrapper scripts)\r
87 \r
88 --=-=-=\r
89 Content-Type: application/pgp-signature\r
90 \r
91 -----BEGIN PGP SIGNATURE-----\r
92 Version: GnuPG v1.4.10 (GNU/Linux)\r
93 \r
94 iD8DBQFLtRma6JDdNq8qSWgRAggoAJ41tMknH/oDWBcQv0XQ9u01BWQLowCdGHZj\r
95 hjJqySOyGlMSBomdmflFJxQ=\r
96 =xTPK\r
97 -----END PGP SIGNATURE-----\r
98 --=-=-=--\r