Answer the question
In order to leave comments, you need to log in
Are C++ programs compiled to TDM-GCC cross-platform?
Will programs compiled with TDM-GCC work on Linux, for example?
Answer the question
In order to leave comments, you need to log in
If you compiled them into .exe, then no - you need to compile for a specific platform.
Cross-platform does not mean that the same binary will work everywhere, but that the code is written in such a way that it can be compiled for different platforms into the appropriate binaries.
There is no cross-platform compilation if the language does not have a virtual machine. The formats of executable files for Linux and Windows are completely different, their runtime is also different.
Cross-platform is code that can be compiled for different systems.
On the site of this toolchain it is written:
Means that he can only Windows.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question