Issue
- I compiled my program on c++ in release, and then I sent the exe of this program to my friend who has an AMD processor but I have Intel. Why my .exe file works on his computer, although compiled programs works on concrete hardware and OS?
- How to write code to satisfy the requirements of hardware independence?
- where I can read about it?
Solution
Basically, you compiled the code for a x86 or x86_64 instruction set processor.
So it both works on the Intel and AMD processors because they're both x86 or x86_64 instruction set processors.
Where it may start to not work is when you compile for another instruction set like ARM.
Answered By - Léolol DB Answer Checked By - David Goodson (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.