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

Re: [Xen-devel] EXTRA_CFLAGS when compiling Xen


  • To: Jan Beulich <JBeulich@xxxxxxxx>
  • From: Corneliu ZUZU <czuzu@xxxxxxxxxxxxxxx>
  • Date: Wed, 17 Feb 2016 14:09:43 +0200
  • Cc: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxx>, Ian Campbell <ian.campbell@xxxxxxxxxx>, Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>
  • Comment: DomainKeys? See http://domainkeys.sourceforge.net/
  • Delivery-date: Wed, 17 Feb 2016 12:37:06 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=bitdefender.com; b=vPhmxAmm8eTtgL4Yd0pgVqAxbu4HBOCM+SFSR8BGVxZR+4hXZLNxKL9FuNtrMpbeV+jPTGu1LoEvoLyWfUil9GDMtQlZVhBYgEvQXYtp7srWv5gGf/A0zcuhEmczkowT5WhMmcw9T2qyXcPC/4rVcJqvAUd7rFskZ/U6WYJys4QFGpL9frMIU/DB0RenXsudRpTPy4ORq9AOKiIWtD07hSw4wVO4HL+B2rb/1CZHUiVl0X7ZHeORO1RJBTwQ5QQgC+NEJr6wrJTXrYuwFz5XZcODFGN/saA0qnFDXO/r+Wj+o4AnFGMioWFpzRpmOl56YXVnHc97LvyfYkiCjmzy5g==; h=Received:Received:Received:Received:Received:From:Subject:To:References:Cc:Message-ID:Date:User-Agent:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-BitDefender-Scanner:X-BitDefender-Spam:X-BitDefender-SpamStamp:X-BitDefender-CF-Stamp;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

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


 


Rackspace

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