Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id AECF3429E2A for ; Tue, 28 Jun 2011 12:04:41 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.01 X-Spam-Level: X-Spam-Status: No, score=0.01 tagged_above=-999 required=5 tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qhLG6mEbl7iS for ; Tue, 28 Jun 2011 12:04:41 -0700 (PDT) Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2]) by olra.theworths.org (Postfix) with ESMTP id 48AB2429E25 for ; Tue, 28 Jun 2011 12:04:41 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 0D43529A645; Tue, 28 Jun 2011 12:04:40 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id EFB2D254157; Tue, 28 Jun 2011 12:04:39 -0700 (PDT) From: Carl Worth To: david@tethera.net, notmuch@notmuchmail.org Subject: Re: [PATCH] libnotmuch: build symbols list without relying on gcc -aux-info. In-Reply-To: <1309142545-30590-1-git-send-email-david@tethera.net> References: <1309136932-21910-1-git-send-email-david@tethera.net> <1309142545-30590-1-git-send-email-david@tethera.net> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu) Date: Tue, 28 Jun 2011 12:04:39 -0700 Message-ID: <87iprpaibc.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: David Bremner X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2011 19:04:41 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Sun, 26 Jun 2011 23:42:25 -0300, david@tethera.net wrote: > Here is another way of doing this, probably better unless you are > very attached to the idea of declaring the API in the header file. Thanks for both of these, David. I've gone ahead and pushed the first, (generating the symbol list with sed and notmuch.h). I assume by "better" you mean that this one is less fragile to issues like the precise formatting of our notmuch.h header file. Meanwhile, though, our API *is* declared in the header file, (that's what the header file exists for), so I do prefer to base our symbol list on it. In fact, the ideal would probably be to take the objdump method and use it in the test suite to verify that its output matches the contents of notmuch.sym generated from the header file. =2DCarl =2D-=20 carl.d.worth@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk4KJccACgkQ6JDdNq8qSWj9VACeOrid/VBQFWvddKdQlanl9gJu diMAniq7HHpsKcw5Ps1HtEx4Av+7n7sO =5ZVz -----END PGP SIGNATURE----- --=-=-=--