TypeScriptCompiler icon indicating copy to clipboard operation
TypeScriptCompiler copied to clipboard

Cross compile to Android/iOS

Open ZhaoXiangXML opened this issue 7 months ago • 2 comments

This project looks interesting to me, it it possible to compile ts code into so/dylib for Android or iOS?

I've an Unity game project targeting Android/iOS, with TypeScriptToLua as the scripting language. It's facing performance issue and I'd like to AOT compile it into native code.

ZhaoXiangXML avatar Apr 18 '25 11:04 ZhaoXiangXML

TBH, I have not tried it yet but I am sure it is possible, the only thing it is not rested against ARM32. so I would say ARM64 is better to try

ASDAlexander77 avatar Apr 20 '25 11:04 ASDAlexander77

u need to find correct "triplet" to specify ARM compilation.

for example: arm-none-eabi

ASDAlexander77 avatar Apr 20 '25 11:04 ASDAlexander77