is it possible to use pyinstaller on windows to compile a one-file solution for use on Linux?
On powershell, running the following command:
pyinstaller scriptname.py --onefile
works perfectly, creating a single .exe file that runs no problem on Windows. How can I modify this to produce a binary (or whatever it would be to run on Linux, I have no idea how to use that platform, I am just trying to get someone to test the code using that OS)?
I know part of the PyInstaller process is the creation of a .spec file, which can be modified for advanced configurations of compilation, but that is beyond me.
After searching online, it seems like PyInstaller has multi-platform capabilities, but some resources state that python scripts can only be compiled for use on the OS which it is being compiled on, so maybe it's not even possible, but I find it hard to believe that.
Thanks in advance for any help!