[cfe-dev] How to add new target?
daniel at zuster.org
Wed Mar 24 13:40:39 CDT 2010
On Wed, Mar 24, 2010 at 3:21 AM, Artur Pietrek <pietreka at gmail.com> wrote:
> 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
> Hi all,
> so after "greping" the code I was able to do (more or less) everything I
> wanted to do.
As you have discovered, this stuff isn't very well documented yet. Do
you feel like writing up a blurb we could add to our Internals Manual
describing what you have discovered?
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
More information about the cfe-dev