[PATCH] libnotmuch: build symbols list without relying on gcc -aux-info.

Carl Worth cworth at cworth.org
Tue Jun 28 12:04:39 PDT 2011


On Sun, 26 Jun 2011 23:42:25 -0300, david at 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.

-Carl

-- 
carl.d.worth at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110628/970e7520/attachment.pgp>


More information about the notmuch mailing list