Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Thomas Koenig Newsgroups: comp.arch Subject: Re: Computer architects leaving Intel... Date: Mon, 16 Sep 2024 15:34:25 -0000 (UTC) Organization: A noiseless patient Spider Lines: 15 Message-ID: References: <2024Aug30.161204@mips.complang.tuwien.ac.at> <86r09ulqyp.fsf@linuxsc.com> <2024Sep8.173639@mips.complang.tuwien.ac.at> <2024Sep10.101932@mips.complang.tuwien.ac.at> <2024Sep11.123824@mips.complang.tuwien.ac.at> Injection-Date: Mon, 16 Sep 2024 17:34:26 +0200 (CEST) Injection-Info: dont-email.me; posting-host="791bf6c76acc5f7d6a0b52e0480cb113"; logging-data="3076427"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18mKhQXGXWixZw+CPE589NPvQ2OGh2RcQI=" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:BI+dzL1ksb6nJbIFn6P0EG/yVNc= Bytes: 2211 David Brown schrieb: > The GCC community would be quite happy to support such targets, but > someone would need to make the port. And the architecture of the gcc > compiler suite is best suited to processors with reasonably regular and > orthogonal ISAs with plenty of registers and at least 16-bit width - > getting good results for a cpu like the 6502 from gcc would be an > extraordinary level of effort. It makes a lot more sense to look at > tools like SDCC with an architecture that fits better. Native compilation of gcc on a 6502 would be... interesting. But I think an adaption of gcc to a 6502 could actually work if the zero page was treated as 128 16-bit registers. Not going there, though :-)