Re: Porting GCC to 8051 Microcontroller

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

 



Andrew Haley wrote:
> Ganesh wrote:
>> I haven't said that I don't understand the steps involved. I have just
>> now started to work on it. I want to check whether if anyone have ever
>> tried this port and successfully completed it.
> 
> It's very unlikely.  It's not completely impossible to do it, but
> code quality would probably be poor.
> 
> See http://gcc.gnu.org/ml/gcc/2003-07/msg00890.html
> http://gcc.gnu.org/ml/gcc/2003-07/msg01167.html

I've been thinking about this some more.  I suspect you could get good
results by generating not 8051 assembly language, which would be gross,
but a simple bytecode engine.  It wouldn't be at all fast, but it would
be possible to generate some native code sequences and intermix them
with the bytecode.  This would be a reasonable compromise between speed
and code density.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux