[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] EXTRA_CFLAGS when compiling Xen
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). Jan 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?This is not so important since for now Razvan's suggestion does the trick (or adding %.i as a dependency for %.o in Rules.mk), but I thought it would be nice for future reference, so only respond when/if you have the time/disposition. Thanks, Corneliu. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |