[cfe-dev] Clang universal driver project state

Reid Kleckner rnk at google.com
Wed Jul 31 08:03:30 PDT 2013


On Wed, Jul 31, 2013 at 4:58 AM, Simon Atanasyan <simon at atanasyan.com>wrote:

> Hi,
>
> What is the current state of Clang universal driver project
> (http://clang.llvm.org/UniversalDriver.html)? Does anybody work on
> that project now?
>

I don't think so.


> Recently I start to implement support for one more MIPS toolchain.
> It's directory tree is similar to Code Sourcery toolchain but has some
> difference as well. Sure I can add a bit more folder names to the
> clang driver and make GCC detection algorithm more complicated. But I
> think it is not a right way.
>
> That's why I'd like to implement the clang driver's configuration file
> support. My current plan is to put to this file the following settings
> and use these settings in the driver:
> - target triple
> - include files search paths (-I)
> - library search paths (-L)
> - program and files search paths (-B)
> - explicit paths for files and / or programs
>
> User will be able to select configuration file by --target=<config name>
> option.
>

Can you implement this using the existing response file support, rather
than coming up with a new config file format?

Also I want to code an utility that runs specified gcc with
> -print-multi-directory / -print-prog-name / ... options and generates
> driver's configuration file.
>
> I plan to send more formal RFC next week. But if someone works on
> similar tasks or has any comments or questions right now, I would be
> happy to get the response.
>
> --
> Simon Atanasyan
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130731/378621b7/attachment.html>


More information about the cfe-dev mailing list