[cfe-users] complie clang with clang
Masaru Tsuchiyama via cfe-users
cfe-users at lists.llvm.org
Thu Mar 23 05:39:27 PDT 2017
Hi.
Thank you for the reply.
I was able to show the command lines with your method.
Best Regards.
Masaru
Hans Wennborg wrote:
> I think this should do it:
>
> $ CXX=clang++ CC=clang cmake -G "Unix Makefiles" ../llvm
> $ VERBOSE=1 make -j8
>
> On Wed, Mar 22, 2017 at 5:19 AM, Masaru Tsuchiyama via cfe-users
> <cfe-users at lists.llvm.org> wrote:
>> Hi.
>>
>> Thank you for the replay.
>>
>> I could show the command lines with the following steps.
>>
>> $ CXX=clang++ CC=clang cmake -G Ninja ../llvm
>> $ ninja-build -v
>>
>> But I want to do this with make.
>>
>> Could you tell me how?
>>
>> Rest Regards.
>>
>>
>> Duncan P. N. Exon Smith wrote:
>>>
>>>
>>>> On 2017-Mar-21, at 06:51, Masaru Tsuchiyama via cfe-users
>>>> <cfe-users at lists.llvm.org> wrote:
>>>>
>>>> Hi.
>>>>
>>>> I'm trying to complie clang with clang.
>>>
>>>
>>> This should be fairly well documented. Try these:
>>> http://clang.llvm.org/get_started.html
>>> http://llvm.org/docs/CMake.html
>>> http://llvm.org/docs/AdvancedBuilds.html
>>>
>>> It sounds like you're looking for "bootstrap" builds, which is the first
>>> thing in the third link.
>>>
>>>> Then I found the site.
>>>> http://stackoverflow.com/questions/12479458/how-to-build-clang-with-clang
>>>>
>>>> I want to know whether clang is surely used when compiling clang.
>>>> I want it to display command line of clang compilation.
>>>>
>>>> Is there any method to show the exact command line when compiling it.
>>>
>>>
>>> This depends on your build system. If you're using Ninja, you can add
>>> "-v" to the command-line to see what commands are being called.
>>>
>>>> Best Regards.
>>>>
>>>> --
>>>> Masaru Tsuchiyama <m.tmatma at gmail.com>
>>>> _______________________________________________
>>>> cfe-users mailing list
>>>> cfe-users at lists.llvm.org
>>>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
>>>
>>>
>>>
>>
>>
>> --
>> Masaru Tsuchiyama <m.tmatma at gmail.com>
>> _______________________________________________
>> cfe-users mailing list
>> cfe-users at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
>
--
Masaru Tsuchiyama <m.tmatma at gmail.com>
More information about the cfe-users
mailing list