javalikescript / luaclibs

Dependent modules for luajls
https://github.com/javalikescript/luajls
18 stars 2 forks source link

How cross compile from Linux to windows? #1

Open johnnycubides opened 4 months ago

johnnycubides commented 4 months ago

Hi, Thanks for your development.

Do you have instructions about how do you cross compile your luajls from Linux to Windows? I understand that in your README.md to explain how you compile on Windows and have an example for raspberry, but I want to know if your makefiles are prepared for it.

Regards, Johnny

javalikescript commented 4 months ago

Hi Johnny,

No, the instructions are only available to compile for Windows on Windows. The cross compilation instructions are available to compile for ARM on Linux. The makefiles are specific for Windows and the cross compilation is only possible in the Linux ones. Additionally, cross compiling makes difficult for me to run the tests, develop and debug.

Hope it helps somehow and have a good day, Samuel

johnnycubides commented 4 months ago

Thanks Samuel, in this case I'll use your windows release for a test.