Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: "Luke A. Guest" Newsgroups: comp.compilers Subject: Re: Modern compilers for ye olde architectures Date: Wed, 6 Oct 2021 09:00:04 +0100 Organization: Aioe.org NNTP Server Lines: 23 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <21-10-011@comp.compilers> References: <21-10-007@comp.compilers> <21-10-010@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="44009"; mail-complaints-to="abuse@iecc.com" Keywords: architecture, history Posted-Date: 06 Oct 2021 11:04:11 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:2719 On 05/10/2021 18:59, David Brown wrote: > For the Z80, however, there are a number of compiler options. ... I'm not talking about using an existing compiler. > Your best bet is probably SDCC. This is a multi-target open source > compiler that is in regular development, and aimed specifically for > small CISC microcontroller cores. The Z80 is one of its targets. I know of SDCC. I'm not talking about using C. On 06/10/2021 01:26, Derek Jones wrote: > Modern, as in post-1985 techniques require lots of memory. > So they are not of any use if you plan to host your compiler > on a Z80, otherwise your next problem is mapping techniques > that are designed to work well with orthogonal architectures > (which the Z80 is certainly not). > [I believe the plan is to cross-compile with Z80 as the target. -John] I'm not talking about running a compiler on a Z80, just targetting one. [Perhaps you could give us more hints about what you're doing so we can offer more usefule answers. -John]