This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: version of gcc


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]