run program compiled on another kernel

Danijel Mlinaric danijel.mlinaric@fer.hr
Fri Nov 17 21:33:00 GMT 2006


Hi,
I have a little problem with programs compiled on the latest Fedora Core 6, 
gcc version 4.1.1. The thing is when I run any program, including simplest 
printf("hello world")... on devil linux version 1.2.10 kernel 2.4.32, I get 
message: "Floating point exception". I normally run all programs on Fedora, 
but I need to get things working on Devil. I was thinking that the problem 
is with difference between kernel version 2.4 vs. 2.6 (Fedora). I tried to 
compile programs with -O0 option (without optimization), but no good. Any 
ideas?

Thanks for your time, sorry for bad english!
With regards! 



More information about the Gcc-help mailing list