Francois LE COAT
2015-09-30 21:45:11 UTC
Hi,
I'm developing since 1987 a shareware called Eureka 2.12 on different
successive ATARI computers, and since GNU/GCC 2.8.1 was released, I
also use that C language compiler under freeMiNT, the ATARI free OS.
My C sources are perfectly compatible with GNU/GCC until 3.3.6 version.
But since GNU/GCC 4 optimizing compiler is available, I can't build my
sources successfully. Large parts of what it's written in C language
are completely discarded from the binary even if I use the "-O0" option.
Is there a way to force GNU/GCC 4 (I'm experimenting 4.6.4 version) to
build strictly what it is written in C, preventing from optimizations ?
For the moment, the Eureka 2.12 software can be built, but the binary
is not corresponding to sources, and is totally misbehaving with
GNU/GCC 4, because my sources are misinterpreted. GNU/GCC 3 is correct.
I was imagining that C language is offering sources compatibility, but
since the fourth version of GNU/GCC, it isn't the case apparently with
my old sources. The problem seems to be caused by the compiler itself,
and not the corresponding libraries, because I even tested GNU/GCC 4
with the exact same libraries than with GNU/GCC 3 ...
Thanks in advance for helping me.
Best regards,
I'm developing since 1987 a shareware called Eureka 2.12 on different
successive ATARI computers, and since GNU/GCC 2.8.1 was released, I
also use that C language compiler under freeMiNT, the ATARI free OS.
My C sources are perfectly compatible with GNU/GCC until 3.3.6 version.
But since GNU/GCC 4 optimizing compiler is available, I can't build my
sources successfully. Large parts of what it's written in C language
are completely discarded from the binary even if I use the "-O0" option.
Is there a way to force GNU/GCC 4 (I'm experimenting 4.6.4 version) to
build strictly what it is written in C, preventing from optimizations ?
For the moment, the Eureka 2.12 software can be built, but the binary
is not corresponding to sources, and is totally misbehaving with
GNU/GCC 4, because my sources are misinterpreted. GNU/GCC 3 is correct.
I was imagining that C language is offering sources compatibility, but
since the fourth version of GNU/GCC, it isn't the case apparently with
my old sources. The problem seems to be caused by the compiler itself,
and not the corresponding libraries, because I even tested GNU/GCC 4
with the exact same libraries than with GNU/GCC 3 ...
Thanks in advance for helping me.
Best regards,
--
François LE COAT
Author of Eureka 2.12 (2D Graph Describer, 3D Modeller)
http://eureka.atari.org/
François LE COAT
Author of Eureka 2.12 (2D Graph Describer, 3D Modeller)
http://eureka.atari.org/