Closed jemc closed 2 years ago
Most of the time it wouldn't make sense to cross-compile something and then immediately run it within the same environment.
But there are certain use cases where this can make sense.
For example:
Compiling a Windows .exe within WSL (which can run .exe).
.exe
Compiling a MacOS x86_64 binary on MacOS arm64 (which can run it via Rosetta).
Most of the time it wouldn't make sense to cross-compile something and then immediately run it within the same environment.
But there are certain use cases where this can make sense.
For example:
Compiling a Windows
.exe
within WSL (which can run.exe
).Compiling a MacOS x86_64 binary on MacOS arm64 (which can run it via Rosetta).