Hi MiKRO,
Miro Kropáček writes:
>> Well, I took GNU/GCC 4.6.4 available on your WEB page at :
>> <
http://mikro.naprvyraz.sk/files/gcc/gcc-4.6.4-m68020-60mint.tar.bz2>
>> precisely `cc1` binary available in this archive, because I have a
>> Hades060 machine. I replaced the `cc1` binary from my GNU/GCC 3.3.6
>> configuration available at <
http://eureka.atari.org/gcc3.3.6SDK.zip>
>> from your `cc1` binary. I have then a GNU/GCC 3.3.6 configuration,
>> with the C compiler from 4.6.4 version.
>
> What if take the whole package? There may be some internal dependencies, there's no guarantee that cc1 stays binary compatible with previous versions.
If I take the whole package, I would have the same result like with
cross-compilers. The building configuration is not adapted to compile
my Eureka 2.12 software, because there's no 16bits libraries. Also
GNU/GCC 4 is an optimizing compiler, that misinterpret my sources.
It seems to me that `cc1` stay compatible from a version to the other.
The developing configuration that I'm telling you about successfully
builds my software, with correct 16bits libraries from 3.3.6 version.
That's why I can tell that `cc1` compiler is not backward compatible.
> Also, you still didn't explain what do you mean by that 'the resulting binary is not conform to sources'.
Well, the starting demo with a spinning hypercube is not played. The
GEM interface seems correct, but if I want to describe a curve, the
curve is not drawn. If I want to draw a surface, the surface is
not drawn. Nothing happens with the binary like it should. The
binary is simply not corresponding to sources. The program is broken.
> But you're right, there's no -mshort libc & friends, only basic libgcc (for building the freemint kernel).
The lack of 16bits libraries is a big default when I build Eureka 2.12.
It breaks compatibility with earlier ATARI developing configurations. I
didn't know the freeMiNT's kernel still uses the "-mshort" option. Many
ATARI programs are certainly using it because it is an ATARI convention.
Thanks for helping.