From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: gcc as a cross-compiler Date: Mon, 17 Feb 1997 20:19:44 -0800 Organization: Two pounds of chaos and a pinch of salt Lines: 26 Message-ID: <33092DE0.7E8E@cs.com> References: Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp204.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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. | ---------------------------------------------------------------------