[gccsdk] SimpleGit

Jeffrey Lee me at phlamethrower.co.uk
Sat Nov 10 14:17:10 PST 2018

On Sun, 11 Nov 2018, Ron wrote:

> Good to have examples of AB_GIT and cmake useage too.
> A quick look inside the debian src for libgit2 -dev, namely unix/map.c
> shows
> #if !defined(GIT_WIN32) && !defined(NO_MMAP)
> indicating at least for that file NO_MMAP can be defined.
> could be worth exporting from the setvars file

That's the problem - you turn off mmap and then libgit2's own mmap 
emulation moans at you :-)

Possibly it would work with UnixLib's mmap emulation, so that might be 
worth trying if we can't work out how to fix libgit2 properly.


- Jeffrey

More information about the gcc mailing list