Thread (26 messages) flat view 26 messages, 11 authors, 2016-06-15

Re: linking libgit.a in C++ projects

From: Petr Baudis <hidden>
Date: 2016-06-15 22:45:05

On Thu, Jul 31, 2008 at 12:16:45PM +0100, Pedro Melo wrote:
I think the point Dmitry was trying to make is that you should compile 
libgit as C, using gcc, and then link it with your C++/Objective C code.

No patch is required to git, only to your makefile/xcode project file.
libgit has a certain (albeit currently unofficial and non-settled) API
and the API is defined in header files that must be eatable by C++
compilers in order to do this.

				Petr "Pasky" Baudis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help