Hi experts, please help me solve this problem:
I compiled a program C++ by Linux gcc version 4 and the program can run perfectly in that computer. But when I run the program in another computer (Linux with gcc version 3. installed), it did not work and said:
"Floating point exception"
I am sure that the problem is about the difference between GCC versions (or maybe Linux version).
Can anyone tell me how to compile the program to run in the previous version? The program is very complex, and big, so I do not want to recompile it. I think there are solutions because the 2 machines using the same Linux GCC, just different version.
I am very aprreciate if you can help me.
Thanks in advance.
--Phuc