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

Re: [MiNT] MiNTLib for ColdFire



On Tue, 2009-04-28 at 19:58 +0200, Vincent Rivière wrote:
> It looks like we are going to get a new Atari-clone
> based on a ColdFire CPU :-)
> 
> http://acp.atari.org/news.html
> http://acp.atari.org/news_de.html
> http://acp.atari.org/news_fr.html
> 
> That computer will be able to run legacy 680x0 TOS programs thanks to an 
> emulation layer, but it would be nice if we could compile programs 
> specifically for ColdFire in order to get the maximum performance.
> 
> Any recent binutils/GCC built for the m68k target can produce code for any 
> ColdFire variant. There are several models of ColdFire CPUs, the most 
> powerful are the family 547X, based on the V4e core. In my latest build of 
> GCC 4.4.0, I included multilib support for the ColdFire V4e core, it can be 
> used by compiling with the "-cfv4e" option.
> 
> So we currently have the libraries provided by GCC (namely, libgcc.a and 
> libstdc++.a) already available. I checked that the 2-instruction stub inside 
> the extended MiNT header of the executables produced by the binutils is 
> compatible with the ColdFire.
> 
> We do not currently have a libm.a for the ColdFire, but I hope fdlibm or PML 
> will recompile nicely for it.
> 
> So the only big missing part for full ColdFire support is the MiNTLib.
> I propose we start working on it.
> We can start by adding WITH_V4E_LIB=no in configvars, and adding support in 
> the makefiles to build that new library variant. So it will not be built by 
> default, it will not break any compatibility.

Yes, in fact I already have a coldfire board from Mark, and I'm
currently doing my Eiffel3 board for it so I can use it for FreeMiNT &
MiNTlib development.

Alan.