The Evil Mangler

Gabriel Dos Reis gdr at integrable-solutions.net
Tue Jan 17 04:11:06 CET 2012


On Mon, Jan 16, 2012 at 8:18 PM, David Terei <davidterei at gmail.com> wrote:

>> I hope you keep the C code generator around as long as the
>> native code generator can't handle unregistered builds...
>
> It is here to stay for a while at least. The LLVM backend supports
> both unregisterised and registerised builds so it is often a better
> choice than the C backend for porting these days (you may want to try
> it). So there is a slim chance we may drop the C backend altogether
> but this is very slim as it costs us little to maintain the C backend.

I will give it a try when I do not have too many varying
parameters in my build toolchain.  I am trying to build a stage-1
compiler targeting AVR.  My build toolchain is GCC targeting
AVR + AVR libc.  I am using the C backend because GCC has
pretty good support for AVR.  I just looked at avr-llvm but I am not
sure it has the same level of maturity and support (in particular
to build AVR libc.)

 -- Gaby



More information about the Cvs-ghc mailing list