Yes, Simon is looking into modifying the clang and llvm driver so that
we can use it for end to end compilation.
We have our own driver that I wrote in python. That is what we use now.
It's very easy to add new hosts/ports to it whereas it seems to be an
overly complex process to understand and make changes to the clang
driver. In the end, many things are hard coded into the clang front end
that should be configurable without making source changes and this was
very disturbing to me. I didn't have the bandwidth to sort all of that
out and we urgently needed a gcc compatible driver that could work with
normal open source make files.
Reed
On 09/26/2011 06:10 PM, Liu wrote:> On Tue, Sep 27, 2011 at 1:23 AM, reed kotler<rkotler at mips.com>
wrote:
>> I have somebody working on this.
>>
>> You can communicate with him. He just started and does not have his
mips
>> account yet.
>> simon at atanasyan.com
>>
>> There are many issues related to the driver.
>>
>> Reed
> You mean he is working on clang driver or llvm be?
>
> --Liu
>
>>
>> On 09/25/2011 07:36 PM, Liu wrote:
>>
>> On Mon, Sep 26, 2011 at 1:23 AM, Anton Korobeynikov
>> <anton at korobeynikov.info> wrote:
>>
>> Hello
>>
>> How can I use the right triple?
>> Thanks.
>>
>> You're using the "right" triplet. However:
>> 1. Your system is unknown to driver (as shown in the warning)
>>
>> I'm looking into it.
>>
>> 2. You need to "teach" driver to look for paths to the
includes for
>> your platform
>>
>> After added -I, I get more errors...
>>
>> --
>> With best regards, Anton Korobeynikov
>> Faculty of Mathematics and Mechanics, Saint Petersburg State University
>>
>> Thank you.
>>
>>
>> --Liu
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>>