[cfe-dev] Issue #2 with clang-analyzer on RTEMS

Andrew McGregor andrewmcgr at gmail.com
Sun Sep 26 14:07:31 PDT 2010


I wasn't thinking of copying the syntax... that's hideous.

But the concept of a compiler config file that encapsulates the directory layout (relative to a small number of places that can be specified with something like -sysroot) and all the details of linker etc. invocations, that's a good idea.

Andrew

On 27/09/2010, at 12:04 AM, Anton Korobeynikov wrote:

>> For clang, how about extending gcc's spec file notion to include all the necessary information?
> Don't do that (tm)  :)
> 
> gcc specs stuff is an good example how the stuff should not look like.
> You might find http://clang.llvm.org/UniversalDriver.html somehow
> useful. Noone started to do anything significant in this direction
> besides some early experiments.
> 
> -- 
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University





More information about the cfe-dev mailing list