libGit2?
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
libGit2?
How hard would it be to port https://github.com/libgit2/luagit2 bindings to Hollywood?
I'm on registered MorphOS using FlowStudio.
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: libGit2?
On Windows/Linux/Mac it's not so difficult but on Amiga compatibles you'd need to invest some effort into adapting libgit to compile without the C functions that need constructor/destructor code, see here: http://www.hollywood-mal.com/docs/html/ ... SCRT_.html
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
Re: libGit2?
SimpleGit for OS4 is based on it but may be statically linking it. I'll have to check on this some more later on.
I'm on registered MorphOS using FlowStudio.
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: libGit2?
Yes, that definitely looks like static linking. In a Hollywood plugin you'll of course normally also statically link libgit but there is no constructor/destructor code for the C runtime so you need to tweak lots of code for this purpose.