Conversation
saghul
left a comment
There was a problem hiding this comment.
Thanks for getting the ball rolling! Left some comments.
2fa942f to
3bbbff6
Compare
|
@saghul Can BUILD_MACOS_MULTIARCH compile a program that can run on both arm and x86? Very interesting, thank you, learned a lot |
Yes, that's right! It's larger because it includes both architectures in a single file. |
Although I prefer to be platform specific, it's a good deal to trade 2m of program size for the convenience of being able to run on a different architecture. |
Yeah, i think this is ok for macOS, since the only devices that run macOS should have plenty of space so wasting a couple extra megabytes should be ok. The Makefile still defaults to single-arch builds, so users are free to do that too! |
|
Thank you! |
Support build on windows-x86, macos-x86, macos-arm64
For Windows platform, all dynamic libraries required by tjs are packaged
Only tested in Windows environment https://github.com/ahaoboy/txiki.js/releases