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

Re: [MiNT] mshort support



Am 19.12.2009, 11:25 Uhr, schrieb Vincent Rivière <vincent.riviere@freesbee.fr>:

I'm currently compiling FreeMiNT and all its modules (including XaAES) for the first time (and I'm really frightened by the number of warnings).

I get near to none warnings on MiNT or XaAES-compile using gcc 2.95.3.

It seems that the kernel and all its modules are compiled with -mshort, am I right ?

Right!

In this case, all the libraries used by FreeMiNT and its modules must be provided with -mshort, for all supported CPUs. This includes at least libgcc and libgem.

Right! As I see it MiNT needs libgcc, XaAES also libgem.

Severe problems can appear when mixing libraries compiled with different short/CPU options.

Oh - really?

If the above is right, I will include all the required mshort libraries in my future cross-compiler distributions.

Essential!

-Helmut