Re: Porting Clang to a new architecture

2015-11-02 Thread Joerg Sonnenberger via cfe-commits
On Mon, Nov 02, 2015 at 06:30:07AM -0300, Ariel Arelovich via cfe-commits wrote: > One question that I still can't answer is the whole standard libraries. Are > these precompiled for a given backend? Do I need to write them for my > proposed arquitecture? > > Or by simply writing a new backend ev

Re: Porting Clang to a new architecture

2015-11-02 Thread Joerg Sonnenberger via cfe-commits
On Mon, Oct 26, 2015 at 12:58:46PM -0300, Ariel Arelovich via cfe-commits wrote: > So this is what I wanted to know. I think understand what you are saying. > You are saying that most of the work that I would need to do from the AST > (I'm assuming that this stands from Abstract Syntax Tree) is all

Re: Porting Clang to a new architecture

2015-11-02 Thread Ariel Arelovich via cfe-commits
Yes! Thank you. I've begun reading up on this, and it is effectively what I want to do. I working on modifying LLVM code. One question that I still can't answer is the whole standard libraries. Are these precompiled for a given backend? Do I need to write them for my proposed arquitecture? Or by

Re: Porting Clang to a new architecture

2015-11-01 Thread Justin Bogner via cfe-commits
Ariel Arelovich via cfe-commits writes: > Great. > > So this is what I wanted to know. I think understand what you are saying. > You are saying that most of the work that I would need to do from the AST > (I'm assuming that this stands from Abstract Syntax Tree) is allready being > done by LLVM an

Re: Porting Clang to a new architecture

2015-10-26 Thread Ariel Arelovich via cfe-commits
Great. So this is what I wanted to know. I think understand what you are saying. You are saying that most of the work that I would need to do from the AST (I'm assuming that this stands from Abstract Syntax Tree) is allready being done by LLVM and I should look to modify for a my new arquitecture.

Re: Porting Clang to a new architecture

2015-10-26 Thread Saleem Abdulrasool via cfe-commits
On Monday, October 26, 2015, Ariel Arelovich via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Hi: > > Where I'm working I've been asked to look into developing a C (by this I > mean C89 C standard) compiler a new processor architecture being created > inhouse. > > On looking at the options a

Porting Clang to a new architecture

2015-10-26 Thread Ariel Arelovich via cfe-commits
Hi: Where I'm working I've been asked to look into developing a C (by this I mean C89 C standard) compiler a new processor architecture being created inhouse. On looking at the options and brushing up on compiler theory, I came up with Flex/Bison, Writing the compiler from scratch or use Clang. I