Are there any idiosyncrasies or variations between distros that would affect C++ binaries compiled with GCC 4.7.x on one distro being used directly on another? I understand that the ideal situation is to compile from source on the second distro but I’d really prefer not to worry about compiling new GCC versions and the program source code on my production machine. I’m a relatively inexperienced linux user (hence the question!) and still prefer IDEs as opposed to command line compilation, ssh being all I can really use to access the production machine.
The code itself is nothing interesting but it does make use of some run of the mill OS facilities like blocking sockets and the like.
Any advice would be greatly appreciated!
Unless the binaries are built on exactly the same OS (including version) and exactly the same hardware there are no guarantees.
In practice:
If the hardware is the same family of chip it should work.
If the OS has the same Major number then it should (probably) work.
My advice build from source.
READMEfile. But usually it involves running two commands./configureandmake. If you don’t want anything special you usually do not need to do anything else.