This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: how to target the Intel 8051?
Danny Birdie writes:
> Hi,
> I have some C code targeted for the Intel 8051. How do I go about
> using GCC to target the 8051, so I can generate an assembly output, or
> an Intel Hex output.
>
> Please send me all the necessary instructions/links for this.
The 8051 wouldn't be a good target for gcc. It's severely register
starved, and the result would be very poor code density.
Andrew.