<br><br><div class="gmail_quote">On Fri, Mar 19, 2010 at 10:15 AM, Artur Pietrek <span dir="ltr"><<a href="mailto:pietreka@gmail.com">pietreka@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>First, since it's my first post here, I'd like to say hello!<br><br>I've started to write LLVM backend for our processor some time ago and I can produce correct (most of the time ;) ) code.<br>What I need now, is to add my target processor to cfe - I've already added a class to lib/Basic/Targets.cpp.<br>

<br>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?<br>Thanks a lot for your help<br><font color="#888888"><br>
Artur<br>
</font></blockquote></div><br>Hi all,<br>so after "greping" the code I was able to do (more or less) everything I wanted to do.<br><br>Cheers,<br>Artur<br>