From: Jarmo Raiha Subject: Re: Making a C Compiler? To: turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp (Stephen Turnbull) Date: Sat, 4 Feb 1995 10:13:20 +0200 (GMT+0200) Cc: djgpp AT sun DOT soe DOT clarkson DOT edu, early AT finite DOT nrl DOT navy DOT mil > The big picture is that flat memory model is embedded everywhere in > the GCC suite. If it's not flat memory (ie segment registers etc) > you're going to have big trouble. > > I'm also afraid that 32-bit-ness is presumed throughout. Ie, there is > not going to be a retargeting of the GCC compiler to build DOS However there exist a gcc port to motorola hc6811. hc6811 is a 8 bit machine with few 16 bit extensions. I don't know anything else but I have seen it. Then there is a retargetable compiler 'lcc' (ftp.cs.princeton.edu if my memory serves) It's code generation interface is fairly well documented. Jarmo