[fpc-devel] LLVM Backend?

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Nov 10 23:08:52 CET 2009


On 10 Nov 2009, at 23:00, Marco van de Voort wrote:

> In our previous episode, Jonas Maebe said:
>
>> With an LLVM backend, there will obviously be a dependency on LLVM
>> (either as a library or as an installed tool chain) and hence on its
>> dependencies, but it would be nice if we could be compatible with as
>> many different LLVM releases as possible at the same time (so that
>> people having to stick to an older LLVM version for whatever reason
>> can upgrade FPC independently of that). In that respect, I don't know
>> to what extent the C++ interface of the LLVM code generator is more  
>> or
>> less stable than the assembler format (I know that the LLVM  
>> developers
>> reserve the right to break backwards compatibility in the assembler
>> format only when releasing new major versions).
>
> Since LLVM is a specific codegen, there would be simply a bunch of
> llvm-<arch> targets with each their own PPC binary? So only the LLVM  
> ones
> would be libc dependant.

Yes of course, but I was saying that those compiler binaries should be  
compatible with an as wide selection of different LLVM versions as  
possible.


Jonas



More information about the fpc-devel mailing list