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

Re: [MiNT] GCC 2.95.2



Guido Flohr <guido@freemint.de> writes:

> That means that you will have to recompile both your gcc and your MiNTLib.
> Sorry for the inconvenience but the main reason why Frank and I have
> changed these things was to avoid such problems in the future.  Bad
> timing, sorry.

I did recompile both, and it seems to work in real MiNT, but not in
oTOSis, for some strange reason. 

> BTW, what were your experiences with cross-compiling the MiNTLib?  Is the
> preparation for cross-compilation sufficient?  I really tried to make
> things easy and I'm interested in a little feedback.

Oh, it was pretty simple. After changing configvars, it just compiled
very smoothly. One part in configvars that confused me a bit:

# Only used when cross-compiling:
# Define this to the size (in bytes) of a long double for your
# cross-compiler.  If you have an older gcc version it is probably
# 0x08.  It should be 0x0a (decimal 12) however.  If in doubt leave
# it as it is (i. e. 0x0a).
LONGDOUBLESIZE=0x0a

Decimal 12 is 0x0c, and after consulting the cross compiler, it should
be 12 (0x0c), not 10 (0x0a). Maybe this will solve all my problems. :)
I'll recompile and see.


Tomas