If it's pure C/C++ , then you don't need to worry about which machine you are compiling on. The code is by nature portable and can be compiled on both operating systems. So long as you don't rely on OS functionality. If your code works on Windows and does not involve any OS API directly then it will run the same on Linux.
|
C
How to test windows .cpp in codeblocks, to linux terminal |
|
|
