GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Jul 31, 2014 5:22 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Floating point exception on a GTK+ application.
PostPosted: Fri Apr 27, 2007 11:25 am 
Offline
Familiar Face

Joined: Tue Jan 23, 2007 6:13 pm
Posts: 34
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!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 27, 2007 12:54 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 3:07 am
Posts: 384
Location: Fairfax, Virginia
How are you compiling the applications? Are you using any types of optimizations?

_________________
Andrew Krause

Foundations of GTK+ Development: Buy now for only $31.49!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 27, 2007 1:32 pm 
Offline
Familiar Face

Joined: Tue Jan 23, 2007 6:13 pm
Posts: 34
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group