[cfe-dev] Tooling: disable standard compile-run

Manuel Klimek klimek at google.com
Fri Feb 28 01:47:16 PST 2014


On Wed, Feb 26, 2014 at 1:48 PM, Robert Zimmermann <tsett at gmx.net> wrote:

>  Hello again,
> I looked into this stuff with the CompilationDatabase.
> I think my problem is a little bit another.
>
> The tool is called like for a single file like that:
> check-tool <tool-flags> <file> -- <compiler-flags>
> Thus, I should already have a Database.
>
> When the tool is called for a C++-File it gives an error like: missing
> <map>
> When I add all the directories where these files should be located (e.g.
> -I$(MINGWPATH)\lib\gcc\mingw32\4.8.1\include\c++) to the compiler-flags
> and I got strange compiler errors.
>

Seeing those compile errors would be interesting... ;)


>
> Best,
> Robert
>  *Gesendet:* Mittwoch, 26. Februar 2014 um 12:48 Uhr
> *Von:* "Manuel Klimek" <klimek at google.com>
> *An:* "clang-dev Developers" <cfe-dev at cs.uiuc.edu>
> *Betreff:* Re: [cfe-dev] Tooling: disable standard compile-run
>   On Tue, Feb 25, 2014 at 9:41 PM, Richard <legalize at xmission.com> wrote:
>>
>>
>> In article <530CEE52.90407 at gmx.net>,
>>     Robert Zimmermann <tsett at gmx.net> writes:
>>
>> > Thanks for the answers.
>> > I will look through the stuff and write my experience then.
>>
>> Obviously the "hack yourself one together" in an editor approach
>> doesn't scale.
>>
>> For more than one file (i.e. compiling an entire code base), you can
>> do a clean build with VS and then write a script to generate the
>> compilation database from the VS log file, which includes the full
>> compilation command for every source file.
>
>
> I think it's probably easier to change CMake to output them for Windows
> (and would benefit everybody ;) than to re-parse the output. If somebody
> wants hints, just drop me a mail and I'm happy to point you in the right
> direction.
>
>
>
>> --
>> "The Direct3D Graphics Pipeline" free book <
>> http://tinyurl.com/d3d-pipeline>
>>      The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
>>          The Terminals Wiki <http://terminals.classiccmp.org>
>>   Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>
>>  _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>
>   _______________________________________________ cfe-dev mailing list
> cfe-dev at cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
> _______________________________________________
> 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/20140228/152bcb87/attachment.html>


More information about the cfe-dev mailing list