Re: version of gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



BEGIN Thibault (GFI) writes:

 > I have compiled a program on Mandriva with gcc 4.1 and it does not run on the same machine config on Mandrake 9.2: I get a "floating point exception" at run time.
 > This program compiled with gcc 4.1 works correclty on Mandriva.
 > This program compiled with gcc 3.2 works correclty on Mandrake 9.2.
 > the proc are both Pentium 4.
 > 
 > What's the matter?

A lack of forwards compatibility.

The rule is this: compile your program on the oldest OS version on
which you wish it to run.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux