[cfe-dev] How to add new target?

Artur Pietrek pietreka at gmail.com
Fri Mar 19 02:15:50 PDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100319/a018fc7e/attachment.html>


More information about the cfe-dev mailing list