Re: porting a compiler to a new architecture

Hans Walheim <hawa@celsiustech.se>
22 Mar 1999 01:13:45 -0500

          From comp.compilers

Related articles
porting a compiler to a new architecture mathai@ecf.toronto.edu (1999-03-09)
Re: porting a compiler to a new architecture albaugh@agames.com (1999-03-10)
Re: porting a compiler to a new architecture jsgray@acm.org (Jan Gray) (1999-03-22)
Re: porting a compiler to a new architecture hawa@celsiustech.se (Hans Walheim) (1999-03-22)
Re: porting a compiler to a new architecture nr@labrador.cs.virginia.edu (Norman Ramsey) (1999-03-28)
| List of all articles for this month |
From: Hans Walheim <hawa@celsiustech.se>
Newsgroups: comp.compilers
Date: 22 Mar 1999 01:13:45 -0500
Organization: Compilers Central
References: 99-03-036
Keywords: architecture, practice

> I'm designing a RISC CPU for fun, and wanted to know how difficult it
> would be to port a compiler like gcc to generate code (non-optimized is
> fine) for my machine? I'm ignorant of compilers, but can learn .. I'd
> just like to assess how difficult it would be.


If you find gcc or lcc too intimidating you could try Small-C. You
should be able to get it to compile its own sources in 5-10 days. I have
a 32-bit version of Small-C at http://www.bahnhof.se/~inters/downld.html.
For more info about Small-C look in the comp.compilers FAQ.


Hans Walheim


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.