So i've a few doubts that i would like to clarify .
Suppose i'm writing a c++ program and compiled and linked it on a RHEL machine with x86 as processor .
I compiled the same program and linked it on RHEL machine with PowerPC as processor .
Now , if i make changes to my c++ program and compile in both platforms again .
Is it ever possible that some features fail on one machine with different cpu but works on the other machine with other cpu .
I mean compiling and linking , its all OS dependent , and OS handles the processor architecture .
So if the environment on both OS's are same except the processor architecture , will it affect my program .
I think i'm missing some concepts , help is appreciated .
Thanks !
Suppose i'm writing a c++ program and compiled and linked it on a RHEL machine with x86 as processor .
I compiled the same program and linked it on RHEL machine with PowerPC as processor .
Now , if i make changes to my c++ program and compile in both platforms again .
Is it ever possible that some features fail on one machine with different cpu but works on the other machine with other cpu .
I mean compiling and linking , its all OS dependent , and OS handles the processor architecture .
So if the environment on both OS's are same except the processor architecture , will it affect my program .
I think i'm missing some concepts , help is appreciated .
Thanks !