Nv7
Nv7
Someone already did it! I'm trying out https://github.com/marwan-at-work/wasm-fetch
The Makefile didn't work, however using ```CGO_CFLAGS="$(pkg-config --cflags glfw3)" CGO_LDFLAGS="-L/usr/local/lib $(pkg-config --libs glfw3)" go build``` works. (Note the `-L/usr/local/lib` part)
Excited to be able to move around in the raytracing mode! Thanks for the quick response!
I have implemented some of the most used `stdlibc` functions at https://github.com/Nv7-GitHub/bpp/blob/ff2d32542a2b493cc5eaa7e75f349371d9e99111/old/compiler/builtins.go#L46 if that would be any help
Can clang produce LLVM from headers?
Perhaps by getting a list of stdlib functions and then doing this for the stdlib we could get a list of function declarations, and we could parse them using this...
Are there any examples on using `irutil.Layout`?
That would be super cool! However, how would it be done?
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: https://github.com/tinygo-org/go-llvm/issues/22 Some other ones I found are: - https://github.com/go-llvm/llvm - https://github.com/nsf/gollvm - https://github.com/axw/gollvm