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

[MiNT] Native GCC built



Hi guys,

I'm happy to announce that I have successfully managed to compile a native build of GCC for any m68k platform (020-60, 060, ColdFire, ...) without any dirty hacks incl. the ability to produce code for given platform by default (thanks Markus!) and still keeping the ability to have multilib support.

However, there's one problem with this: if gcc (running on FireBee, for example) produces -mcpu=5475 code by default, it breaks all the multilib-aware libraries on our platform (mintlib, libm, cflib, gemlib, perhaps couple of others) because it assumes that nothing on command line == -m68000.

In your opinion what is better solution, commit a patch for these libs or revert to the standard Atari behaviour, i.e. -m68000 by default?

Keep in mind if we choose the m68000 way, it wont be possible to rebuild GCC on FireBee (natively, as the bootstrap) because the code produced will be 68000, not CF, i.e. not possible to boostrap. So perhaps I have just answered myself but it's better to check with others I guess.

--
MiKRO / Mystic Bytes
http://mikro.atari.org