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

[MiNT] Compiling compatible binaries (was:CF .PRG recognition)



2012/4/13 Vincent Rivière <vincent.riviere@freesbee.fr>:
>
> For software built with AHCC for ColdFire, they run on both 68020+ and
> ColdFire systems, using only instructions common to both processors. The
> resulting binary is almost 99% optimal for ColdFire, but there is more
> performance loss on 68020+ (to be benchmarked).
> If I'm not wrong, software built with AHCC for ColdFire crashes on plain
> 68000... To be tested further.
>

What about gcc? I'd like to test a binary compiled for Coldfire V2
(-m5200). Would this binary work in CPUs from 68020 to 060 and
ColdFires?

If I understand it well ColdFire is upwards compatible from V2, and
according to the V2 manual: "Version 2 ColdFire user code
runs unchanged on 68020, 68030, 68040, and 68060 processors". User
code I guess is the code which doesn't use supervisor only
instructions.