How to add and use a static library within Postgres backend

From: XiaoChuan Yu <xcyu(dot)se(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: How to add and use a static library within Postgres backend
Date: 2015-11-27 02:35:48
Message-ID: CAKnH-zqre7A=+KGg6J3ac3aFeHj8m8VV5pjCnbdU4XrOK6Djgw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I'm doing some experimenting with the storage engine and I'd like to use a
C++ static library (that has C headers). I only need this to build on
Ubuntu 64-bit for now.
How do I make postgres build with this library?
What changes do I need to make to the build system files?
I assume headers go in src/include but where do I put the library.a file?

Thanks,
Xiaochuan Yu

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-11-27 04:30:53 Re: Errors in our encoding conversion tables
Previous Message Tatsuo Ishii 2015-11-27 02:00:27 Re: Errors in our encoding conversion tables