GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Floating point exception on a GTK+ application.

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
hydra
Familiar Face


Joined: 23 Jan 2007
Posts: 35

PostPosted: Fri Apr 27, 2007 11:25 am    Post subject: Floating point exception on a GTK+ application. Reply with quote

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: 376
Location: State College, Pennsylvania

PostPosted: Fri Apr 27, 2007 12:54 pm    Post subject: Reply with quote

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

PostPosted: Fri Apr 27, 2007 1:32 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP