Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to support win32 and linux? #2

Open
ccpaging opened this issue Jul 4, 2017 · 3 comments
Open

Is it possible to support win32 and linux? #2

ccpaging opened this issue Jul 4, 2017 · 3 comments

Comments

@ccpaging
Copy link

ccpaging commented Jul 4, 2017

I am really like this for no cgo build and easy to load the newest sqlite.dll.

@iamacarpet
Copy link
Owner

Hello @ccpaging

It should be possible to support win32 pretty easily, from what I remember the only issue at the moment was something to do with int32/int64 compatibility that needed some looking at.

I don't have a lot of time to look into it at the moment, but if you figure it out, please submit a PR.

Don't think Linux support will happen I'm afraid. I opened a ticket a while ago at golang/go#18296 requesting the same shared library open support from Linux as we have with the DLL stuff on Windows, but they seemed to think it was a lot more difficult on Linux and it's way over my head.

Regards,
iamacarpet

@ccpaging
Copy link
Author

ccpaging commented Jul 5, 2017

Linux is not considering. I have doing something in my fork:

https://github.com/ccpaging/go-sqlite3-windll

At least, the simple.go is ok in win32.

@iamacarpet
Copy link
Owner

Great work by you @ccpaging and @admpub, I hadn't even noticed that fork before.

Happy to see the library has been useful for you both :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants