|
|
| Author |
Message |
|
|
hydra Familiar Face
Joined: 23 Jan 2007 Posts: 35
|
Posted: Fri Apr 27, 2007 11:25 am Post subject: Floating point exception on a GTK+ application. |
|
|
Hi all.
I make and distribute some GTK+ applications. Recently I noticed that when my executable is compiled on my home machine I can not run it on other machines (Intel).... I got the message "Floating point exception"
Why is this happen?
I compile my application for i386 processor and I suppose it can run on all processor higher than i386.... but it doesn't work on an Intel machines.
Do you know the reason this is happen?
The operating system at home is Fedora Core 6 with AMD processor and the other systems are Intel Dual core P4 with Fedora Core 6 and Gentoo.
Same result on both...
Thanks in advance for any suggestions! |
|
| Back to top |
|
 |
openldev Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 372 Location: State College, Pennsylvania
|
Posted: Fri Apr 27, 2007 12:54 pm Post subject: |
|
|
| How are you compiling the applications? Are you using any types of optimizations? |
|
| Back to top |
|
 |
hydra Familiar Face
Joined: 23 Jan 2007 Posts: 35
|
Posted: Fri Apr 27, 2007 1:32 pm Post subject: |
|
|
This is the strange thing. I do not use any optimizations, just run "make".
In a compile time i see "i386" so it is compiled for a i386 processor.
When I compile my application on a Intel box I can run it on a AMD box but in the other way I have the "floating point exception"message and my application just crash.
I will check my compile options again. |
|
| Back to top |
|
 |
|