I'm using Fedora 29, and I've been happily using sublime text to compile/build and run C++. I now realized that my compiled/built code is not portable: it won't run on Mac. After some research, I found out that Mac uses a different format than Linux does. This was backed up after repeating the experiment as well as compiling the same source code on Mac (it ran).
Now, my question is: Is there a way to use sublime text on Linux to compile code (C++ or other) that will run on Mac? Also, how can I do this for Windows (assuming Windows uses a different format)? *Note: I want the code to be compiled in C++11!
**Note2: I have already added the C++11 build, and have been using it.
Aucun commentaire:
Enregistrer un commentaire