This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: m68k bootstrapping broken


Peter Barada wrote:
I couldn't ever build GCC *on* uClinux: my only ColdFire board has
just 4MB of ram and 2MB of flash ;-)

might still be enough to try a crosscompiled cc1 natively?

Not at all: after loading the kernel and running a shell, free memory drops to 2.5MB, which is *far* less than the mere size of cc1's text segment, to say nothing about the run-time footprint :-)

I'd like to experiment with a ColdFire 5200 simulator to see if
I can get it to work with remote dejagnu.  It's slow like hell though.


Try the one at <http://www.lightbox.org/coldfire/index.php>  it
*boots* uClinux!

Yeah, that's the one I was referring to. Being able to run uClinux in the emulator is amazing, but it's much slower than the real thing.

A nice project would be porting it to the GDB simulator infrastructure,
but I realized it would be a lot of work.  Besides, it only emulates a
5200, which renders it almost useless for automated GCC regression
testing.

Another possibility could be porting the UAE emulation core instead.
It doesn't handle ColdFire processors, but adding the CF instruction
set shouldn't be too much work.  The real issue is emulating all the
ColdFire peripherals :-(

--
 // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]