Mail Archives: djgpp/1997/02/17/22:43:44
eab AT salnet DOT org wrote:
>
> Do you think it would be possible to "configure" gcc as a cross-compiler
> for an 8-bit computer? I was thinking primarily of the Commodore 64.
> (I don't actually have a Commodore 64 anymore, but I have an emulator on
> my computer.) I know that in addition to that I would either have write
> an additional part for gas or write my own assembler, and I'd need to
> write a standard library for it.
Unfortunately, it's nearly impossible. All of the GNU software is
specifically designed to be used only on 32-bit platforms, and even
though it's possible to create a new set of machine descriptions, doing
so for an 8-bit machine would be... hairy. :) Besides, how exactly are
you going to get your C64 to read DOS-formatted disks?
If you are really, really set on such a project, you'll need to get the
full gcc source distributions from the FSF (not the ported versions for
DJGPP), and enlist a lot of aid from a lot of people...
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com |
| * Proud user of DJGPP! * | http://www.cs.com/fighteer |
| ObJoke: If Bill Gates were a robber, not only would he |
| shoot you, but he'd send you a bill for the bullets. |
---------------------------------------------------------------------
- Raw text -