[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] EXTRA_CFLAGS when compiling Xen



>>> On 17.02.16 at 13:09, <czuzu@xxxxxxxxxxxxxxx> wrote:
> On 2/17/2016 12:34 PM, Jan Beulich wrote:
>>
>>> The reason I need this is to pass '-save-temps' to GCC, I want to inspect
>>> some code
>>> and it would be easier to do that on the preprocessed files.
>> ... there's absolutely no need to for a case like this, at least as
>> long as the xen/ subtree is where you want to do this.
>> xen/Rules.mk has rules for what you want (and also for
>> producing the intermediate assembly file), just that you can't
>> achieve this by invoking make from the top level directory -
>> you need to run make directly in xen/ and manually specify
>> the intended target (including leading sub-directories).
> 
> I wouldn't want to needlessly insist, but of course a canonical way to 
> do this would be preferred.
> I do see the %.i targets there in Rules.mk invoking the preprocessor, 
> but I haven't yet figured how to make those execute.
> 
> Could you detail what make args would activate execution of the %.i targets?

Makes me wonder how the rather detailed reply I've already given
(which also answers this question) hasn't been sufficient.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.