From mboxrd@z Thu Jan 1 00:00:00 1970 From: agrier@poofygoof.com (Aaron J. Grier) Date: Thu, 14 Feb 2002 14:30:50 -0800 Subject: [TUHS] Re: Porting Unix v6 to i386 In-Reply-To: ; from P.A.Osborne@ukc.ac.uk on Fri, Feb 01, 2002 at 10:24:30AM +0000 Message-ID: <20020214143050.J241@goldberry.poofy.goof.com> On Fri, Feb 01, 2002 at 10:24:30AM +0000, P.A.Osborne wrote: > The reason I want the compiler is that it will generate standalone 16 > bit code on a sensible platform. GCC doesnt produce 16 bit code as > far as I am aware - so personally I thought it would be amusing (I > must be mad) to use tools that run under DOS (well OS/2). support for PDP-11 was added to gcc a few months ago. I don't think it's been well tested, but support exists in current versions of binutils and gcc. http://pdp11.nocrew.org/ there's also support for the m68hc11/12 which are 16-bit. it seems like support for 80{,1,2}86 in gcc should be possible; it just hasn't been done yet. another compiler that might be worth looking at is SDCC http://sdcc.sourceforge.net/ which is currently targeted towards 8-bit MCUs. of course bootstrapping via the original K&R compiler would be the "classic" way to do it, though. ;) -- Aaron J. Grier | "Not your ordinary poofy goof." | agrier at poofygoof.com "[...] I generally haven't found IDM guys to be very good live acts, most of them just sit down at their laptop and tweak reaktor." -- Brandon Daniel