[cfe-dev] How to add new target?
Artur Pietrek
pietreka at gmail.com
Wed Mar 24 03:21:04 PDT 2010
On Fri, Mar 19, 2010 at 10:15 AM, Artur Pietrek <pietreka at gmail.com> wrote:
> Hi all,
> First, since it's my first post here, I'd like to say hello!
>
> I've started to write LLVM backend for our processor some time ago and I
> can produce correct (most of the time ;) ) code.
> What I need now, is to add my target processor to cfe - I've already added
> a class to lib/Basic/Targets.cpp.
>
> Could anyone write in points what should be done in Clang to add new target
> support (especially target specific builtins) and how to force clang to act
> as a cross-compiler?
> Thanks a lot for your help
>
> Artur
>
Hi all,
so after "greping" the code I was able to do (more or less) everything I
wanted to do.
Cheers,
Artur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100324/9f35b1d8/attachment.html>
More information about the cfe-dev
mailing list