-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
static binary with builtin lld and libclang #170
Comments
That would be super cool! However, how would it be done? |
Are there no llvm Go libraires that can do this? |
There seem to be a few, so I'm going to try to compile them, so far it isn't working, so I've opened some Issues |
This seems to be the only actively maintained one, so I made an issue here: tinygo-org/go-llvm#22 Some other ones I found are: |
Nice! |
I was able to get it to work with https://github.com/Nv7-GitHub/go-llvm and The binary size is 57MB.... |
That's really nice! I love it! Is it also statically linked? |
Kind of...
So it isn't linked to libLLVM, but it requires LLVM's libc++ and libffi |
I see |
I don't think it can build static binaries though, just create LLVM IR/bitcode and JIT compile and run it |
Can we compile
tre
as a statically linked binary withoutos.Exec
'ing toclang
andld
?The text was updated successfully, but these errors were encountered: